code: func (qos QOS) Successful() bool {
  	return qos == QOSAtMostOnce || qos == QOSAtLeastOnce || qos == QOSExactlyOnce
  }
docs: // Successful returns if the provided quality of service level represents a
  // successful value.