public boolean codeWasUpdated() {
    return updatedCode != null;
  }
Whether the code of the account was modified.

@return {@code true} if the code was updated.
evm/src/main/java/org/hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java