human
I wrote the below code

    def decorator(f):
        group = args[0]
        name = args[1]
        @functools.wraps(f)
        def wrapper(self, *func_args, **func_kwargs):
            if hasattr(CONF, group):
                conf_group = getattr(CONF, group)
                if hasattr(conf_group, name):
                    value = getattr(conf_group, name)
                    if value:
                        if (len(args) == 3):
                            msg = args[2]
                        else:
                            msg = ('Config    option    %s.%s    is    false' % (group, name))
                        raise testtools.TestCase.skipException(msg)
            return f(self, *func_args, **func_kwargs)
        return wrapper
    return decorator

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

@debtcollector.removals.remove(message='use    testtools.skipIf    instead', removal_version='Queens')
def skip_if_config(*args):