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

    if isinstance(dependency, (list, str)):
        dependency = ','.join(dependency)
    def _dummy(*args, **kwargs):
        raise ImportError("Cannot    import    '{}',    therefore    '{}'    is    not    available".format(dependency, func))
    return _dummy

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

def create_dummy_func(func, dependency):