{"ast_node_type":"variable","tokens":[{"end":51,"kind":"keyword","start":0,"text":"if"}]}
            if let Some(def_id) = def_id.as_local()
            // non-local main imports are handled below
                && matches!(tcx.hir_node_by_def_id(def_id), Node::ForeignItem(_))