human
I wrote the below code

    def wrapper(self, *args):
        if (not self.is_remote()):
            raise ValueError(('ref    path    does    not    point    to    a    remote    reference:    %s' % self.path))
        return func(self, *args)
    wrapper.__name__ = func.__name__
    return wrapper

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

def require_remote_ref_path(func):