@Override
	public boolean hasNext() throws CancelledException {
		if (nextBlock != null) {
			return true;
		}

		getNextInSet();

		return (nextBlock != null);
	}
@see ghidra.program.model.block.CodeBlockIterator#hasNext()
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/block/SimpleBlockIterator.java