Can't this be simplified to `if node_children[name]?`?