def presence():
 table = s3db.pr_presence
 table.pe_id.readable = True
 table.pe_id.label = 'Name'
 table.pe_id.represent = s3db.pr_person_id().represent
 table.observer.readable = False
 table.presence_condition.readable = False
 return s3_rest_controller()

def presence ( ) : table = s3db . pr_presence table . pe_id . readable = True table . pe_id . label = 'Name' table . pe_id . represent = s3db . pr_person_id ( ) . represent table . observer . readable = False table . presence_condition . readable = False return s3_rest_controller ( )
higher-order function to test presence of a given label .