human
I wrote the below code

    def decorator(method):
        @wraps(method)
        def wrapped_method(self, *args, **kwargs):
            if (not self.initialized):
                raise exception
            return method(self, *args, **kwargs)
        return wrapped_method
    return decorator

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

def require_initialized(exception):