private synchronized boolean shouldDoWork() {

		// If no pending request, exit without restarting timer
		if (requestTime == NONE) {
			return false;
		}

		long now = System.currentTimeMillis();
		if (isTimeToWork(now)) {
			bufferingStartTime = now;
			requestTime = NONE;
			isWorking = true;
			return true;
		}

		scheduleCheckForWork();
		return false;
	}
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