def is_prereg_admin(user):
 if (user is not None):
  return (PREREG_ADMIN_TAG in getattr(user, 'system_tags', []))
 return False

def is_prereg_admin ( user ) : if ( user is not None ) : return ( PREREG_ADMIN_TAG in getattr ( user , 'system_tags' , [ ] ) ) return False
returns true if user has reviewer permissions .