def __eq__(self, other):
    if not isinstance(other, _CompressedValue):
      return NotImplemented
    return self.z_val == other.z_val
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/_CompressedValue.__eq__/original