def sysadmin(context, data_dict):
 return {'success': False, 'msg': _('Not authorized')}

def sysadmin ( context , data_dict ) : return { 'success' : False , 'msg' : _ ( 'Not authorized' ) }
this is a pseudo check if we are a sysadmin all checks are true .