title: Error "int1" is not convertible to 'Bool' swift3
body: <p>Im' quite new at swift and for my project I need to use swift3 and xcode8.1
  I tried differents solutions, but noting works.
  I think it's because of the swift3 from swift2 conversion as I can see on differents topics. Nevertheless that didn't help me a lot.</p>
  
  <p>Here is my function:</p>
  
  <pre><code>func startHeartRateUpdates() {
      output("Starting Heart Rate updates...")
      if let client = self.client {
          do {
              try client.sensorManager.startHeartRateUpdates(to: nil, withHandler: { (heartRateData: MSBSensorHeartRateData!, error: NSError!) in
                  self.hrLabel.text = NSString(format: "Heart Rate: %3u %@",
                      heartRateData.heartRate,
                      heartRateData.quality == MSBSensorHeartRateQuality.acquiring ? "Acquiring" : "Locked") as String
              })
              self.perform(#selector(ViewController.stopHeartRateUpdates), with: nil, afterDelay: 60)
          } catch let error as NSError {
              output("startHeartRateUpdatesToQueue failed: \(error.description)")
          }
      } else {
          output("Client not connected, can not start heart rate updates")
      }
  }
  </code></pre>
  
  <p>And the only error I had is this 2 lines undernlined in red:</p>
  
  <pre><code>heartRateData.quality == MSBSensorHeartRateQuality.acquiring ? "Acquiring" : "Locked") as String
  </code></pre>
  
  <p>With the message:   </p>
  
  <blockquote>
    <p>'Int1' is not convertible to 'Bool'</p>
  </blockquote>
  
  <p>Thanks for your help.</p>