@Retained
  public Object getValueInVM(Object key) throws EntryNotFoundException {
    if (!existsLocally()) {
      throw new EntryNotFoundException(String.valueOf(key));
    }
    return getNearSidePendingValue();
  }
Returns true if the transaction state has this entry existing locally and has a valid local
value. Returns false if the transaction is going to remove this entry or its local value is
invalid.
geode-core/src/main/java/org/apache/geode/internal/cache/TXEntryState.java