human
I wrote the below code

    def wrapper(self, *args, **kwargs):
        for arg in args:
            if (isinstance(arg, PaymentAccount) and (arg.provider != self.provider)):
                raise ValueError('Wrong    account    {0}    !=    {1}'.format(arg.provider, self.provider))
        return f(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 account_check(f):