public boolean hasToolListeners() {
		return !toolListeners.isEmpty();
	}
Return whether there are any registered tool listeners for the tool associated with class

@return true if there are any listeners
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/EventManager.java