private boolean actionInProgress(KeyEvent event) {
		boolean wasInProgress = inProgressAction != null;
		if (event.getID() == KeyEvent.KEY_RELEASED) {
			ExecutableAction action = inProgressAction;
			inProgressAction = null;
			if (action != null) {
				action.execute();
			}
		}
		return wasInProgress;
	}
Used to clear the flag that signals we are in the middle of processing a Ghidra action.
Ghidra/Framework/Docking/src/main/java/docking/KeyBindingOverrideKeyEventDispatcher.java