def set_obey_over18():
 c.obey_over18 = (request.GET.get('obey_over18') == 'true')

def set_obey_over18 ( ) : c . obey_over18 = ( request . GET . get ( 'obey_over18' ) == 'true' )
querystring parameter for api to obey over18 filtering rules .