public static void setToggleActionSelected(ToggleDockingActionIf toggleAction,
			ActionContext context, boolean selected) {
		setToggleActionSelected(toggleAction, context, selected, true);
	}
Ensures the given toggle action is in the given selected state.  If it is not, then the
action will be performed.  This call will wait for the action to finish.

@param toggleAction the action
@param context the context for the action
@param selected true if the action is to be selected; false for not selected
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java