@Override
	public boolean isEnabledForContext(ActionContext actionContext) {
		if (contextClass.isInstance(actionContext)) {
			return isEnabledForContext(contextClass.cast(actionContext));
		}
		return false;
	}
Constructor
@param name the name of the action.
@param owner the owner of the action.
@param contextClass the class of the expected ActionContext type.
Ghidra/Framework/Docking/src/main/java/docking/action/ContextSpecificAction.java