code: func hasPackage(file string, ignoredPackages []string) bool {
  	for _, ignoredPackage := range ignoredPackages {
  		if strings.Contains(file, ignoredPackage) {
  			return true
  		}
  	}
  	return false
  }
docs: // hasPackage returns true if the file is in one of the ignored packages.