human
I wrote the below code

    def m(self, name, *args, **kwargs):
        current = self.get_current_user()
        if (current is None):
            raise web.HTTPError(403)
        if (not ((current.name == name) or current.admin)):
            raise web.HTTPError(403)
        if (not self.find_user(name)):
            raise web.HTTPError(404)
        return method(self, name, *args, **kwargs)
    return m

What's a good function header?

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

def admin_or_self(method):