pub fn node_contains_id(node: &Node, target: &NodeId) -> bool
Check if a node tree contains a node with the given ID.