@Override
  public boolean hasNext() {
    assertOpen();
    return rocksIterator.isValid();
  }
Create RocksDb iterator.

@param rocksIterator the rocks iterator
@return the rocks db iterator
plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/RocksDbIterator.java