private boolean areIdentical(Object o1, Object o2) {
    if (o1 == o2) {
      return true;
    }
    if (o1 instanceof StoredObject) {
      return o1.equals(o2);
    }
    return false;
  }
Perform operation algebra

@return false if operation was not done
geode-core/src/main/java/org/apache/geode/internal/cache/TXEntryState.java