human
I wrote the below code

    @functools.wraps(func)
    def func_wrapper(driver, *args, **kwargs):
        try:
            return func(driver, *args, **kwargs)
        except exception.NotAuthorized:
            if (args[0] == 'login'):
                raise
            driver.login()
            return func(driver, *args, **kwargs)
    return func_wrapper

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

def _authenticated(func):