private boolean canPerformAction(DockingActionIf action) {
		if (action == null) {
			return false;
		}
		ActionContext context = model.getContext();
		return action.isValidContext(context) && action.isEnabledForContext(context);
	}
Sets the {@link ActionDisplayLevel} for the dialog which determines which actions to display
@param level the action display level to use.
Ghidra/Framework/Docking/src/main/java/docking/actions/dialog/ActionChooserDialog.java