def has_connection_pool(pool_name, config_file_name=DEFAULT_DATABASE_CONFIGURATION_FILE_NAME):
    """True if a connection pool with a given name is registered
    
    @param pool_name: a connection pool name to look up
    """
    if databaseConfig is None :
        fileConfig(config_file_name)
    return databaseConfig.has_connection_pool(pool_name)
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