@Override
  public void clear() {
    delegate.forEach((k, v) -> undoLog.add(new UndoEntry<>(k, v)));
    delegate.clear();
  }
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