def __eq__(self, other):
        if not isinstance(other, _Base):
            return NotImplemented
        return (type(self) == type(other) and
                self._pem_bytes == other._pem_bytes)
dataset/ETHPy150Open hynek/pem/src/pem/_core.py/_Base.__eq__/original