def has_connection_pool(self, pool_name):
        """True if a connection pool with a given name is registered
        
        @param pool_name: a connection pool name to look up
        """
        with _database_config_lock :
            return pool_name in self._pool_map
True if a connection pool with a given name is registered
        
        @param pool_name: a connection pool name to look up
        
recipes/Python/577072_Global_database_configuraticontext_aware/recipe-577072.py