public synchronized boolean isBusy() {
		if (!queue.isEmpty()) {
			return true;
		}

		if (finalJob != null) {
			return true;
		}

		return currentJob != null;
	}
Sets a job to run after all currently running and queued jobs.  If a final job was already
set, then that job will be replaced with the given job.

@param job the job to run
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/GraphJobRunner.java