@Override
	public boolean hasNext() {
		if (nextInstruction == null) {
			findNext();
		}
		return nextInstruction != null;
	}
@see ghidra.program.model.listing.CodeUnitIterator#hasNext()
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/InstructionRecordIterator.java