This will give us if dir_stat[0] is root of this symlink
We also need the index in sub_paths. So sub_paths.index gives us the 2 birds ;)