code: func (configFile *ConfigFile) ContainsAuth() bool {
  	return configFile.CredentialsStore != "" ||
  		len(configFile.CredentialHelpers) > 0 ||
  		len(configFile.AuthConfigs) > 0
  }
docs: // ContainsAuth returns whether there is authentication configured
  // in this file or not.