def METHOD_NAME(command, **kwargs):
    if "is-enabled" in command:
        return "enabled", 0
    elif "is-active" in command:
        return "active", 0
    else:
        raise Exception("unknown command")