public static TaskMonitor dummyIfNull(TaskMonitor tm) {
		return tm == null ? DUMMY : tm;
	}
Returns the given task monitor if it is not {@code null}.  Otherwise, a {@link #DUMMY}
monitor is returned.
@param tm the monitor to check for {@code null}
@return a non-null task monitor
Ghidra/Framework/Utility/src/main/java/ghidra/util/task/TaskMonitor.java