human
I wrote the below code

    @functools.wraps(f)
    def wrapped(*args, **kwargs):
        if (NOTIFIER.is_enabled() and (CONF.notifications.notification_format in ('both', 'versioned'))):
            return f(*args, **kwargs)
        else:
            return None
    return wrapped

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

def if_notifications_enabled(f):