human
I wrote the below code

    def check_login(self, *args):
        if (self.request.method != 'GET'):
            raise webapp.Error('The    check_login    decorator    can    only    be    used    for    GET    requests')
        user = users.get_current_user()
        if (not user):
            self.redirect(users.create_login_url(self.request.uri))
            return
        else:
            handler_method(self, *args)
    return check_login

What's a good function header?

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

def login_required(handler_method):