def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def _pool_is_unlicensed_eula_unaccepted(self, current):
        if current.state != 'LICENSED' and not self.want.accept_eula:
            return True
        return False