human
Here's a good function header given the following:
I wrote the below code

    T = current.T
    settings.base.prepopulate += ('custom/NZRC', 'custom/NZRC/Demo')
    settings.base.theme = 'custom.NZRC'
    settings.auth.registration_requires_verification = True
    settings.auth.registration_requires_approval = True
    settings.auth.registration_requests_organisation = True
    settings.auth.registration_organisation_required = True
    settings.auth.registration_link_user_to = {'staff': T('Staff'), 'volunteer': T('Volunteer'), 'member': T('Member')}
    settings.mail.approver = 'ADMIN'
    settings.gis.legend = 'float'
    settings.L10n.decimal_separator = '.'
    settings.L10n.thousands_separator = ','
    settings.security.policy = 7
    settings.org.branches = True
    settings.pr.lookup_duplicates = True
    settings.hrm.email_required = False
    settings.hrm.use_credentials = False
    settings.project.mode_task = True
    settings.req.req_type = ['People']
    settings.req.commit_people = True
    settings.req.inline_forms = False
    settings.req.show_quantity_transit = False
    def ns_only(tablename, fieldname='organisation_id', required=True, branches=True, updateable=True, limit_filter_opts=True, hierarchy=True):
        '\n                                                Function    to    configure    an    organisation_id    field    to    be    restricted    to    just\n                                                NS/Branch\n\n                                                @param    required:    Field    is    mandatory\n                                                @param    branches:    Include    Branches\n                                                @param    updateable:    Limit    to    Orgs    which    the    user    can    update\n                                                @param    limit_filter_opts:    Also    limit    the    Filter    options\n                                                @param    hierarchy:    Use    the    hierarchy    widget    (unsuitable    for    use    in    Inline    Components)\n\n                                 ...

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

def config(settings):