@Override
	public boolean hasNext() {
		nextElement = waitForNextElement(nextElement);
		return nextElement != XML_END_TOKEN;
	}
Returns true if the parser has more elements to read.

@return true if the parser has more elements to read
Ghidra/Framework/Generic/src/main/java/ghidra/xml/ThreadedXmlPullParserImpl.java