code: def check_no_overlapping_paths(paths):
    
    for path in paths:
      list_copy_without_path = list(paths)
      list_copy_without_path.remove(path)
      if path in list_copy_without_path:
        raise ValueError('{} appeared more than once. All paths must be unique.'.format(path))
      for p in list_copy_without_path:
        if path in p:
          raise ValueError('{} and {} have the same prefix. All paths must be unique and cannot overlap.'.format(path, p))
docs: Given a list of paths, ensure that all are unique and do not have the same prefix.