human
I wrote the below code

    T = current.T
    s3db = current.s3db
    request = current.request
    s3 = current.response.s3
    settings = current.deployment_settings
    req_vars = request.vars
    organisation_id = req_vars['organisation_id']
    if (type(organisation_id) is list):
        req_vars['organisation_id'] = organisation_id[0]
    organisation_id = (req_vars['organisation_id'] or current.session.s3.organisation_id or '')
    def prep(r):
        s3db.gis_location_filter(r)
        table = r.table
        if organisation_id:
            table.organisation_id.default = organisation_id
        if (r.representation == 'plain'):
            table.obsolete.readable = False
        if r.interactive:
            if r.component:
                cname = r.component_name
                if (cname in ('inv_item', 'recv', 'send')):
                    s3db.inv_prep(r)
                    s3db.configure('inv_inv_item', create=False, deletable=False, editable=False, listadd=False)
                elif (cname == 'human_resource'):
                    org_site_staff_config(r)
                elif ((cname == 'req') and (r.method not in ('update', 'read'))):
                    s3db.req_create_form_mods()
                elif (cname == 'asset'):
                    record = r.record
                    atable = s3db.asset_asset
                    field = atable.organisation_id
                    field.default = record.organisation_id
                    field.readable = field.writable = False
                    field = atable.site_id
                    field.default = record.site_id
                    field.readable = field.writable = False
                    s3db.configure('asset_asset', create_next=None)
            elif (r.method in ('create', 'update')):
                if (r.method == 'update'):
                    table.obsolete.readable = table.obsolete.writable = True
                org_id = request.get_vars.get('(organisation)', None)
                if org_id:
                    field = table.organisation_id
           ...

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

def org_office_controller():