private boolean isValidPanelContext(ActionContext context) {
		if (!(context instanceof CodeComparisonPanelActionContext comparisonContext)) {
			return false;
		}
		CodeComparisonPanel comparisonPanel = comparisonContext.getCodeComparisonPanel();
		return comparisonPanel == this;
	}
Notification that a program location changed on one side.
@param side the side that changed
@param location the new location for the given side
@param trigger the trigger for the change
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/listing/ListingCodeComparisonPanel.java