@Override
  public V put(final @NotNull K key, final @NotNull V value) {
    Objects.requireNonNull(value);
    final V oldValue = delegate.put(key, value);
    if (!value.equals(oldValue)) {
      undoLog.add(new UndoEntry<>(key, oldValue));
    }
    return oldValue;
  }
Has the map been changed

@return true if there are any undo entries in the log
evm/src/main/java/org/hyperledger/besu/collections/undo/UndoMap.java