human
I wrote the below code

    if wrapped:
        @functools.wraps(wrapped)
        def wrapper(*args, **kwargs):
            with _ignore_deprecations():
                return wrapped(*args, **kwargs)
        return wrapper
    else:
        return _ignore_deprecations()

What's a good function header?

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

def ignore_deprecations(wrapped=None):