code: func (a *Driver) isParent(id, parent string) bool {
  	parents, _ := getParentIDs(a.rootPath(), id)
  	if parent == "" && len(parents) > 0 {
  		return false
  	}
  	return !(len(parents) > 0 && parent != parents[0])
  }
docs: // isParent returns if the passed in parent is the direct parent of the passed in layer