private boolean isValid(Window window) {
		if (!window.isVisible()) {
			return false;
		}
		return true;
	}
Action for transferring focus to the next or previous visible window in the application.
Ghidra/Framework/Docking/src/main/java/docking/action/NextPreviousWindowAction.java