@Override
	public boolean hasNext() throws IOException {
		if (nextConvertedRecord != null) {
			return true;
		}
		while (nextConvertedRecord == null && it.hasNext()) {
			nextConvertedRecord = recordPredicateAndTranslate.apply(it.next());
		}
		return nextConvertedRecord != null;
	}
Construct a constrained/filtered record iterator.
@param it source record iterator
@param recordPredicateAndTranslate function which enables both filtering of records
(null returned if record should be skipped) and the ability to translate the record
to an alternate table/record schema.
Ghidra/Framework/DB/src/main/java/db/ConstrainedForwardRecordIterator.java