pub fn has_no_parent(path: &str) -> bool