def METHOD_NAME(self):
    if not request.is_xhr and session.user and session.user.is_admin:
        flash(_('This page is currently not visible by non-admin users (menu entry disabled)!'), 'warning')
    else:
        raise Forbidden