pub fn validate_basis(nodes: &[NodeId], max_level: usize) -> bool
Validate that a set of nodes forms a complete basis