def METHOD_NAME():
    """
    This endpoint returns the information if registration is allowed or not.
    This is used by the UI to either display the registration button or not.
    :return: JSON with value=True or value=False
    """
    resolvername = Match.action_only(g, scope=SCOPE.REGISTER, action=ACTION.RESOLVER)\
        .action_values(unique=True)
    result = bool(resolvername)
    g.audit_object.log({"info": result,
                        "success": True})
    return send_result(result)