public static boolean canClose(PluginTool tool) {
		return tool.canStopTasks() && tool.canClosePlugins();
	}
Returns true if the tool can be closed. Note this does not handle any data saving. It only
checks that there are no tasks running and the plugins can be closed.
@param tool the tool to close
@return true if the tool can be closed
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginToolAccessUtils.java