public static boolean isExecutingTasks() {
		if (SystemUtilities.isInTestingMode()) {
			return runningTasks.size() > 0;
		}

		return false;
	}
Returns true if there are tasks that are running or need to be run.
@return true if there are tasks that are running or need to be run.
Ghidra/Framework/Gui/src/main/java/ghidra/util/TaskUtilities.java