@Override
	public boolean hasNext() {
		if (peeked) {
			return true;
		}
		return iterator.hasNext();
	}
An implementation of {@link PeekableIterator} that can take a Java {@link Iterator} and 
wrap it to implement the {@link PeekableIterator} interface.

@param <T> the type of the iterator
Ghidra/Framework/Generic/src/main/java/generic/util/WrappingPeekableIterator.java