human
I wrote the below code

    if (not module_name):
        module_name = 'treeio.core'
    def wrap(f):
        'Wrap'
        def wrapped_f(request, *args, **kwargs):
            'Wrapped'
            if request.user.profile.is_admin(module_name):
                return f(request, *args, **kwargs)
            else:
                return HttpResponseRedirect(reverse('user_denied'))
        wrapped_f.__doc__ = f.__doc__
        wrapped_f.__name__ = f.__name__
        return wrapped_f
    return wrap

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

def module_admin_required(module_name=None):