async def METHOD_NAME(self) -> bool:
    if self._pool is not None and not self._pool._closing and not self._pool._closed:
        try:
            async with self._pool.acquire(timeout=10):
                return True
        except Exception:
            LOGGER.exception("Connection to PostgreSQL failed")
    return False