code: func IsCloudProvider(name string) bool {
  	providersMutex.Lock()
  	defer providersMutex.Unlock()
  	_, found := providers[name]
  	return found
  }
docs: // IsCloudProvider returns true if name corresponds to an already registered
  // cloud provider.