human
I wrote the below code

    @wraps(f)
    def wrapper(*args, **kwargs):
        'Wraps    the    decorated    function.'
        cls = args[0]
        if cls.search_is_enabled():
            return f(*args, **kwargs)
    return wrapper

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

def if_search_enabled(f):