public static boolean assertSwingThread(String errorMessage) {
		if (!isSwingThread()) {
			Throwable t =
				ReflectionUtilities.filterJavaThrowable(new AssertException(errorMessage));
			Msg.error(Swing.class, errorMessage, t);
			return false;
		}
		return true;
	}
Logs a stack trace if the current calling thread is not the Swing thread
@param errorMessage The message to display when not on the Swing thread
@return true if the calling thread is the Swing thread
Ghidra/Framework/Utility/src/main/java/ghidra/util/Swing.java