@Rupinder Singh, by "borrowing an [adapter] connection" I actually meant borrowing a connection from a Adaprter Connection Pool, managed by the IS's Connection Manager.
This connection can be a MongoDB Connection or a JDBC Connection - hence I used the more generic term "Adapter Connection", as it could be any kind of connection - depending on the type of check.
The reasoning behind it this is to check whether the expected database components are in place. This might seem to be an overkill (or over-engineering), but such sanity-check is necessary, as we are always "short of hands" to check why things go "not as expected". And access to he underlying database is not something quick, hence anything that eases these kinds of check is welcome.
@Engin Sarlak The "Adapter Connection" I'm referring to are the adapter connnections set up using the IS Admin > Adapters > webMethods Adapter for <whatever adapter in there, it could be JDBC, MongoDB, etc.)>.