code: func IsEntry(name string, entries []string) bool {
  	for _, e := range entries {
  		if e == name {
  			return true
  		}
  	}
  	return false
  }
docs: // IsEntry returns true if name equals to any string in given slice.