private boolean isOnlyToolConsumer(Program program) {
		List<?> consumers = program.getDomainFile().getConsumers();
		for (Object consumer : consumers) {
			if ((consumer instanceof PluginTool) && consumer != tool) {
				return false;
			}
		}
		return true;
	}
Checks the given program for changes and performs the save if necessary.  The user
is prompted before the save is performed.
@param program program to be closed
@return true if the program can be closed, or false if the operation was cancelled by
the user
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/ProgramSaveManager.java