def METHOD_NAME(func):
    @functools.wraps(func)
    def wrapper(info, **kwargs):
        if info.context.request.user.is_anonymous:
            raise exceptions.AuthenticationFailed(
                _("You are not authenticated"), code="authentication_required"
            )
        if not info.context.request.user.is_verified():
            raise exceptions.AuthenticationFailed(
                _("Authentication Token not verified"), code="two_factor_required"
            )
        return func(info, **kwargs)
    return wrapper