fn is_valid_node_name(name: &str) -> bool