code: func hasPathPrefix(p string, s map[string]string) bool {
  	for prefix := range s {
  		if strings.HasPrefix(p, prefix+"/") {
  			return true
  		}
  	}
  	return false
  }
docs: // hasPathPrefix returns true if any of s is the prefix of p.