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