private boolean shortcutPendingJobs(boolean shortcutAll) {
		//
		// Attempt to shortcut the remaining items in the queue that we can shortcut, optionally 
		// leaving the last job. (The last job is the most recently added and 
		// presumably the one the client wants us to run.)
		//
		String methodName = "shortcutPendingJobs()";
		trace("\t" + methodName + " queued job count: " + queue.size());
		int limit = shortcutAll ? 0 : 1;
		while (queue.size() > limit) {
			GraphJob nextJob = queue.peek();
			if (!nextJob.canShortcut()) {
				// can't stop the next job--leave it to be run later
				trace("\t" + methodName + " found pending job; cannot shortcut: " + nextJob);
				return false;
			}

			nextJob = queue.poll();
			trace("\t" + methodName + " calling shortcut on pending job: " + nextJob);
			nextJob.shortcut();
			trace("\t\t" + methodName + " after calling shortcut on pending job: " + nextJob);
		}
		return true;
	}
Attempts to shortcut the currently running job, if there is one

@return false if there is a currently running job that cannot be shortcut
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/GraphJobRunner.java