def METHOD_NAME(context, data_dict=None):
    username_or_id = context.get('user')
    result = Permissions(username_or_id).has_permission(Permissions.PERMISSION_MANAGE_QA)
    return {'success': result}