public static boolean hasOwnedWindowsShowing(Window window) {
		if (window != null) {
			for (Window one : window.getOwnedWindows()) {
				if (one.isShowing()) {
					return true;
				}
			}
		}
		return false;
	}