human
I wrote the below code

    def decorator(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            saved_stdout = sys.stdout
            sys.stdout = StringIO()
            try:
                out = func(*args, **kwargs)
                if returns_output:
                    out = isplit(sys.stdout.getvalue().strip())
            finally:
                sys.stdout = saved_stdout
            return out
        return wrapper
    return decorator

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

def mute(returns_output=False):