code: func (c GUIConfiguration) IsValidAPIKey(apiKey string) bool {
  	switch apiKey {
  	case "":
  		return false
  
  	case c.APIKey, os.Getenv("STGUIAPIKEY"):
  		return true
  
  	default:
  		return false
  	}
  }
docs: // IsValidAPIKey returns true when the given API key is valid, including both
  // the value in config and any overrides