human
I wrote the below code

    def prep(r):
        if (settings.get_dvr_activity_use_service_type() and settings.get_org_services_hierarchical()):
            field = r.table.service_id
            query = (db.org_service.parent == None)
            field.requires = IS_EMPTY_OR(IS_ONE_OF(db(query), 'org_service.id', field.represent))
        return True
    s3.prep = prep
    return s3_rest_controller()

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def termination_type():