private void unregisterEvents() {
		for (Class<? extends PluginEvent> c : eventsConsumed) {
			tool.removeEventListener(c, this);
		}
		for (Class<? extends PluginEvent> c : eventsProduced) {
			tool.unregisterEventProduced(c);
		}
	}
Checks if this plugin is missing a required service.

@return boolean true if a required service isn't available via the PluginTool.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/Plugin.java