def get_all_roles(exclude_system=False):
 if exclude_system:
  result = Role.query(system=False)
 else:
  result = Role.get_all()
 return result

def get_all_roles ( exclude_system = False ) : if exclude_system : result = Role . query ( system = False ) else : result = Role . get_all ( ) return result
return all roles .