public boolean isHeadlessAnalysisEnabled() throws ImproperUseException {
		checkHeadlessStatus();

		return headless.getOptions().analyze;
	}
Returns whether analysis is currently enabled or disabled in the HeadlessAnalyzer.

@return whether analysis has been enabled or not
@throws ImproperUseException if not in headless mode or headless instance not set
@see #enableHeadlessAnalysis(boolean)
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessScript.java