human
I wrote the below code

    @functools.wraps(func)
    def wrapped(self, *args, **kwargs):
        try:
            return func(self, *args, **kwargs)
        except exception.NotAuthenticated:
            self._authenticate(force_reauth=True)
            return func(self, *args, **kwargs)
    return wrapped

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

def handle_unauthenticated(func):