public void validContextWhen(Predicate<ActionContext> predicate) {
		validContextPredicate = predicate;
	}
Sets a predicate for dynamically determining if this action is valid for the current
{@link ActionContext}.  See {@link DockingActionIf#isValidContext(ActionContext)}

@param predicate the predicate that will be used to dynamically determine an action's
validity for a given {@link ActionContext}
Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java