def METHOD_NAME(self, user):
    """
    Check whether the user can revoke the invitation.
    A user can revoke an invitation if it's the owner
    of the object attached to it.
    """
    return self.backend.owns_object(user)