private boolean isAnalysisTool(Program program) {
		AutoAnalysisManager analysisManager = AutoAnalysisManager.getAnalysisManager(program);
		return tool == analysisManager.getAnalysisTool();
	}
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