def METHOD_NAME(cls, root, info: ResolveInfo, **data):
    site = get_site_promise(info.context).get()
    response = super().METHOD_NAME(root, info, **data)
    response.requires_confirmation = (
        site.settings.enable_account_confirmation_by_email
    )
    return response