human
I wrote the below code

    def decorator(func):
        @functools.wraps(func)
        def wrapper(*func_args, **func_kwargs):
            if (not is_extension_enabled(kwargs['extension'], kwargs['service'])):
                msg = ('Skipped    because    %s    extension:    %s    is    not    enabled' % (kwargs['service'], kwargs['extension']))
                raise testtools.TestCase.skipException(msg)
            return func(*func_args, **func_kwargs)
        return wrapper
    return decorator

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

def requires_ext(**kwargs):