code: func hasEnvName(env []string, name string) bool {
  	for _, e := range env {
  		if strings.HasPrefix(e, name+"=") {
  			return true
  		}
  	}
  	return false
  }
docs: // hasEnvName returns true if the provided environment contains the named ENV var.