public boolean analysisTimeoutOccurred() throws ImproperUseException {
		checkHeadlessStatus();
		return headless.checkAnalysisTimedOut();
	}
Returns whether analysis for the current program has timed out.
<p>
Analysis will time out only in the case where:
<ol>
		<li>the users has set an analysis timeout period using the <code>-analysisTimeoutPerFile</code>
	parameter</li>
		<li>analysis is enabled and has completed</li>
		<li>the current script is being run as a postScript (since postScripts run after
analysis)</li>
</ol>

@return whether analysis timeout occurred
@throws ImproperUseException if not in headless mode or headless instance not set
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessScript.java