public synchronized boolean wasWindowShown() {
		if (!events.isEmpty()) {
			WindowShownInfo info = events.get(events.size() - 1);
			return info.wasShown;
		}

		return false;
	}
A spy that tracks window shown and hidden events from the {@link DropDownSelectionTextField}.

<P>Synchronization Policy: the event storage of this class is synchronized to prevent 
concurrent modification exceptions between reading and writing.
Ghidra/Framework/Docking/src/test/java/docking/widgets/SpyDropDownWindowVisibilityListener.java