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

		return !headless.getOptions().runScriptsNoImport;
	}
Returns whether the headless analyzer is currently set to -import mode or not (if not,
it is in -process mode). The use of -import mode implies that binaries are actively being
imported into the project (with optional scripts/analysis). The use of -process mode implies
that existing project files are being processed (using scripts and/or analysis).

@return whether we are in -import mode or not
@throws ImproperUseException if not in headless mode or headless instance not set
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessScript.java