def configured():
    """
    Return True if the coordination service is properly configured.

    :rtype: ``bool``
    """
    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.

    :rtype: ``bool``
    
st2common/st2common/services/coordination.py