human
I wrote the below code

    @functools.wraps(fun)
    def wrapper(self, *args, **kwargs):
        if (not self.is_running()):
            raise NoSuchProcess(self.pid, self._name)
        return fun(self, *args, **kwargs)
    return wrapper

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

def _assert_pid_not_reused(fun):