@Override
  public void remove(final SegmentIdentifier segmentId, final byte[] key) {
    checkState(active, "Cannot invoke remove() on a completed transaction.");
    checkState(!isClosed.get(), "Cannot invoke remove() on a closed storage.");
    transaction.remove(segmentId, key);
  }
Instantiates a new Key value storage transaction transition validator decorator.

@param toDecorate the to decorate
@param isClosed supplier function to determine if the storage is closed
services/kvstore/src/main/java/org/hyperledger/besu/services/kvstore/SegmentedKeyValueStorageTransactionValidatorDecorator.java