human
I wrote the below code

    download_template_deps = ('dist', 'release', 'arch')
    cmd = 'lxc-create    -n    {0}'.format(name)
    profile = get_container_profile(copy.deepcopy(profile))
    kw_overrides = copy.deepcopy(kwargs)
    def select(key, default=None):
        kw_overrides_match = kw_overrides.pop(key, None)
        profile_match = profile.pop(key, default)
        if (kw_overrides_match is None):
            return profile_match
        return kw_overrides_match
    path = select('path')
    if exists(name, path=path):
        raise CommandExecutionError("Container    '{0}'    already    exists".format(name))
    tvg = select('vgname')
    vgname = (tvg if tvg else __salt__['config.get']('lxc.vgname'))
    template = select('template')
    image = select('image')
    if (template and image):
        raise SaltInvocationError("Only    one    of    'template'    and    'image'    is    permitted")
    elif (not any((template, image, profile))):
        raise SaltInvocationError("At    least    one    of    'template',    'image',    and    'profile'    is    required")
    options = (select('options') or {})
    backing = select('backing')
    if (vgname and (not backing)):
        backing = 'lvm'
    lvname = select('lvname')
    thinpool = select('thinpool')
    fstype = select('fstype')
    size = select('size', '1G')
    zfsroot = select('zfsroot')
    if (backing in ('dir', 'overlayfs', 'btrfs', 'zfs')):
        fstype = None
        size = None
    if (backing in ('aufs', 'dir', 'overlayfs', 'btrfs')):
        lvname = vgname = thinpool = None
    if image:
        img_tar = __salt__['cp.cache_file'](image)
        template = os.path.join(os.path.dirname(salt.__file__), 'templates', 'lxc', 'salt_tarball')
        options['imgtar'] = img_tar
    if path:
        cmd += '    -P    {0}'.format(pipes.quote(path))
        if (not os.path.exists(path)):
            os.makedirs(path)
    if config:
        cmd += '    -f    {0}'.format(config)
    if template:
        cmd += '    -t    {0}'.format(template)
    if...

What's a good function header?

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

def create(name, config=None, profile=None, network_profile=None, nic_opts=None, **kwargs):