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

    @functools.wraps(func)
    def wrapped(*args, **kwargs):
        if (not hasattr(settings, 'PEP_REPO_PATH')):
            raise ImproperlyConfigured('No    PEP_REPO_PATH    in    settings')
        if (not os.path.exists(settings.PEP_REPO_PATH)):
            raise ImproperlyConfigured('Path    set    as    PEP_REPO_PATH    does    not    exist')
        return func(*args, **kwargs)
    return wrapped

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

def check_paths(func):