public static InstructionSearchPlugin getInstructionSearchPlugin(PluginTool tool) {
		List<Plugin> plugins = tool.getManagedPlugins();
		for (Plugin plugin : plugins) {
			if (plugin instanceof InstructionSearchPlugin) {
				return (InstructionSearchPlugin) plugin;
			}
		}

		return null;
	}
Finds the {@link InstructionSearchPlugin}; returns null if it doesn't exist.

@param tool
@return
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/util/InstructionSearchUtils.java