@Override
	public boolean hasNext() {
		return !stack.isEmpty() || it.hasNext();
	}
Implements an iterator over all GTreeNodes in some gTree (or subtree).  The nodes are
return in depth first order.
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/support/DepthFirstIterator.java