code: func (w *Wrapper) inImportDir(file string) bool {
  	for _, imp := range w.ImportDirs {
  		if strings.HasPrefix(file, imp) {
  			return true
  		}
  	}
  	return false
  }
docs: // inImportDir returns true if the given file has a lexicographical
  // prefix of one of the import directories.