public static boolean isTaskRunning(String title) {
		if (!SystemUtilities.isInTestingMode()) {
			return false;
		}

		Task[] tasks = runningTasks.keySet().toArray(new Task[runningTasks.size()]);
		for (Task task : tasks) {
			if (task.getTaskTitle().equals(title)) {
				return true;
			}
		}
		return false;
	}
Returns true if the task with the indicated title is running.
@param title the title of the desired task
@return true if the task with the indicated title is running.
Ghidra/Framework/Gui/src/main/java/ghidra/util/TaskUtilities.java