{"ast_node_type":"function","tokens":[{"end":37,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn is_global(&self) -> bool {
        self.segments.first().is_some_and(|segment| segment.ident.name == kw::PathRoot)