def configured():
 backend_configured = (cfg.CONF.coordination.url is not None)
 mock_backend = (backend_configured and (cfg.CONF.coordination.url.startswith('zake') or cfg.CONF.coordination.url.startswith('file')))
 return (backend_configured and (not mock_backend))

def configured ( ) : backend_configured = ( cfg . CONF . coordination . url is not None ) mock_backend = ( backend_configured and ( cfg . CONF . coordination . url . startswith ( 'zake' ) or cfg . CONF . coordination . url . startswith ( 'file' ) ) ) return ( backend_configured and ( not mock_backend ) )
return true if the coordination service is properly configured .