@Override
	public boolean isEnabledForContext(ActionContext context) {
		if (!(context instanceof FunctionAssociationContext)) {
			return false;
		}

		FunctionAssociationContext providerContext = (FunctionAssociationContext) context;
		return providerContext.getExistingMatch() != null;
	}
Constructor for the action.
@param controller the controller for the current version tracking session.
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/SelectExistingMatchAction.java