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.
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/services/coordination.py/configured