Test connection with several databases

Hi, I’m working on a project with several database connections.

One of those connections is not critical, it’s a printing server used sporadically and currently in development, this server could fail or not be available.

Is there any way to test the connection and ignore it if it presents an error? and display a message in the views related to it.


P.D the project is built in cake2.x