code: func (cc *cacheContext) needsScan(root *iradix.Node, p string) (bool, error) {
  	var linksWalked int
  	return cc.needsScanFollow(root, p, &linksWalked)
  }
docs: // needsScan returns false if path is in the tree or a parent path is in tree
  // and subpath is missing