def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def warn(txt, act, opt):
    if opt.get('display_examples'):
        print(txt + ":\n" + str(act))
    else:
        warn_once(txt)