protected void checkForWork() {

		if (shouldDoWork()) {
			swingExecutePendingWork();
		}
	}
Returns true if any work is being performed or if there is buffered work
@return true if any work is being performed or if there is buffered work
Ghidra/Framework/Gui/src/main/java/ghidra/util/task/AbstractSwingUpdateManager.java