human
I wrote the below code

    def decorator(cls):
        if (profiler and ('profiler' in CONF) and CONF.profiler.enabled):
            trace_decorator = profiler.trace_cls(name, kwargs)
            return trace_decorator(cls)
        return cls
    return decorator

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

def trace_cls(name, **kwargs):