public Element saveToXml(boolean includeConfigState) {
		Element root = new Element("TOOL");

		root.setAttribute(TOOL_NAME_XML_NAME, toolName);
		root.setAttribute(TOOL_INSTANCE_NAME_XML_NAME, instanceName);

		root.addContent(optionsMgr.getConfigState());
		pluginMgr.saveToXml(root, includeConfigState);
		winMgr.saveToXML(root);
		return root;
	}
Returns true if there is at least one tool listening to this tool's plugin events
@return true if there is at least one tool listening to this tool's plugin events
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.java