human
Here's a good function header given the following:
I wrote the below code

    def Decorator(f):
        'Allow    a    function    to    safely    change    flags,    restoring    them    on    return.'
        def Decorated(*args, **kwargs):
            global FLAGS
            old_flags = copy.copy(FLAGS)
            for (k, v) in flag_kwargs.items():
                setattr(FLAGS, k, v)
            try:
                return f(*args, **kwargs)
            finally:
                FLAGS = old_flags
        return Decorated
    return Decorator

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

def FlagOverrider(**flag_kwargs):