human
I wrote the below code

    @wraps(fn)
    def wrapper(self, *args, **kwargs):
        if (not self.current_module):
            print_error("You    have    to    activate    any    module    with    'use'    command.")
            return
        return fn(self, *args, **kwargs)
    try:
        name = 'module_required'
        wrapper.__decorators__.append(name)
    except AttributeError:
        wrapper.__decorators__ = [name]
    return wrapper

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

def module_required(fn):