title: Checking CBPeripheralManager.authorizationStatus() now that it is deprecated
body: <p><code>CBPeripheralManager.authorizationStatus()</code> and <code>CBPeripheralManagerAuthorizationStatus</code> are deprecated based on apple docs. What is the proper way of checking whether user has granted permission to use bluetooth in background now?</p>
  
  <p><code>CBPeripheralManagerDelegate</code> has <code>peripheralManagerDidUpdateState</code> but that never returns <code>unauthorized</code> regardless of whether user granted the permission or not, instead it only returns <code>poweredOn</code> or <code>poweredOff</code></p>