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

    def decorator(request, *args, **kwargs):
        if (get_path('', site=site) is None):
            raise ImproperlyConfigured(_('Error    finding    Upload-Folder    (site.storage.location    +    site.directory).    Maybe    it    does    not    exist?'))
        if (get_path(request.GET.get('dir', ''), site=site) is None):
            msg = _('The    requested    Folder    does    not    exist.')
            messages.add_message(request, messages.ERROR, msg)
            redirect_url = (reverse('filebrowser:fb_browse', current_app=site.name) + query_helper(request.GET, u'', 'dir'))
            return HttpResponseRedirect(redirect_url)
        return function(request, *args, **kwargs)
    return decorator

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

def path_exists(site, function):