def __ne__(self, other):
    eq = self.__eq__(other)
    if eq is NotImplemented:
      return NotImplemented
    return not eq
This is the official "delete" for resource objects: they are set to DELETED lcstate.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/_NotEqualMixin.__ne__--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/ion/resregistry.py/ResourceRegistry.lcs_delete