public static void markProgramNotToAskToAnalyze(Program program) {
		Options options = program.getOptions(Program.PROGRAM_INFO);

		int transactionID = program.startTransaction("Mark Program To Not Ask To Analyze");
		try {
			options.setBoolean(Program.ASK_TO_ANALYZE_OPTION_NAME, false);
		}
		finally {
			program.endTransaction(transactionID, true);
		}
	}
Marks the program has having been analyzed
@param program the program to set property
Ghidra/Features/Base/src/main/java/ghidra/program/util/GhidraProgramUtilities.java