code: func IsGroupDiscoveryFailedError(err error) bool {
  	_, ok := err.(*ErrGroupDiscoveryFailed)
  	return err != nil && ok
  }
docs: // IsGroupDiscoveryFailedError returns true if the provided error indicates the server was unable to discover
  // a complete list of APIs for the client to use.