def __eq__(self, other):
        if other is None:
            return False
        try:
            for key in self.keys():
                if getattr(self, key) != getattr(other, key):
                    return False

            return True
        except __HOLE__:
            return False
dataset/ETHPy150Open mediawiki-utilities/python-mediawiki-utilities/mw/types/serializable.py/Type.__eq__