human
I wrote the below code

    ar1_wf = pe.Workflow(name=name)
    inputspec = pe.Node(interface=IdentityInterface(fields=[u'T1_files', u'T2_file', u'FLAIR_file', u'cw256', u'num_threads', u'reg_template_withskull', u'awk_file']), run_without_submitting=True, name=u'inputspec')
    if (not longitudinal):
        verify_inputs = pe.Node(Function([u'T1_files', u'cw256'], [u'T1_files', u'cw256', u'resample_type', u'origvol_names'], checkT1s), name=u'Check_T1s')
        ar1_wf.connect([(inputspec, verify_inputs, [(u'T1_files', u'T1_files'), (u'cw256', u'cw256')])])
        T1_image_preparation = pe.MapNode(MRIConvert(), iterfield=[u'in_file', u'out_file'], name=u'T1_prep')
        ar1_wf.connect([(verify_inputs, T1_image_preparation, [(u'T1_files', u'in_file'), (u'origvol_names', u'out_file')])])
        def convert_modalities(in_file=None, out_file=None):
            u'Returns    an    undefined    output    if    the    in_file    is    not    defined'
            from nipype.interfaces.freesurfer import MRIConvert
            import os
            if in_file:
                convert = MRIConvert()
                convert.inputs.in_file = in_file
                convert.inputs.out_file = out_file
                convert.inputs.no_scale = True
                out = convert.run()
                out_file = os.path.abspath(out.outputs.out_file)
            return out_file
        T2_convert = pe.Node(Function([u'in_file', u'out_file'], [u'out_file'], convert_modalities), name=u'T2_Convert')
        T2_convert.inputs.out_file = u'T2raw.mgz'
        ar1_wf.connect([(inputspec, T2_convert, [(u'T2_file', u'in_file')])])
        FLAIR_convert = pe.Node(Function([u'in_file', u'out_file'], [u'out_file'], convert_modalities), name=u'FLAIR_Convert')
        FLAIR_convert.inputs.out_file = u'FLAIRraw.mgz'
        ar1_wf.connect([(inputspec, FLAIR_convert, [(u'FLAIR_file', u'in_file')])])
    else:
        inputspec = pe.Node(interface=IdentityInterface(fields=[u'T1_files', u'iscales', u'ltas', u'subj_to_template_lta', u'template_talairach_xfm',...

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

def create_AutoRecon1(name=u'AutoRecon1', longitudinal=False, distance=None, custom_atlas=None, plugin_args=None, shrink=None, stop=None, fsvernum=5.3):