@Override
	public boolean applyTo(Program program, TaskMonitor monitor) {
		if (markAsAnalyzed) {
			GhidraProgramUtilities.markProgramAnalyzed(program);
		}
		mgr.startAnalysis(monitor);
		return true;
	}
Background Command to perform Auto Analysis on a program.

@param mgr the program's AutoAnalysisManager.
@param markAsAnalyzed true to set the analyzed flag after analysis.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AnalysisBackgroundCommand.java