pub fn get_subpath_closed_flag<T: RelativeEq>( path: &[T], ) -> Option<(usize, bool)>
When path is empty, returns None