private boolean isSelectionJustSingleDataInstance(ProgramSelection selection, Data data) {
		if (selection != null && data != null) {
			AddressSet dataAS = new AddressSet(data.getAddress(), data.getMaxAddress());
			return dataAS.hasSameAddresses(selection);
		}
		return false;
	}
Execute the specified DataPlugin action using the current program context.
Assertion failures will occur if action not found or is not enabled for the
current context.
@param name action name
@param waitForCompletion if true invocation will wait for action to complete
its execution in the swing thread, if false it will be scheduled and return immediately.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/data/AbstractDataActionTest.java