pub fn ensure_node_name_unique(
    node_name: String,
    validation_context: Rc<RefCell<ValidationContext>>
) -> Result<(), Error>