pub fn is_codemode_tool(tool: &ToolInfo) -> bool
Whether tool is the codemode tool, as pi’s isCodemodeTool, rather than another extension’s tool of that name.
tool
isCodemodeTool