human
I wrote the below code

    @functools.wraps(f)
    def wrapper(request, addon_id, addon, *args, **kw):
        if (not addon.can_become_premium()):
            log.info(('Cannot    become    premium:    %d' % addon.pk))
            raise PermissionDenied
        return f(request, addon_id, addon, *args, **kw)
    return wrapper

What's a good function header?

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

def can_become_premium(f):