code: @TargetApi(18)
      public boolean checkAvailability() throws BleNotAvailableException {
          if (!isBleAvailableOrSimulated()) {
              throw new BleNotAvailableException("Bluetooth LE not supported by this device");
          }
          return ((BluetoothManager) mContext.getSystemService(Context.BLUETOOTH_SERVICE)).getAdapter().isEnabled();
      }
docs: Check if Bluetooth LE is supported by this Android device, and if so, make sure it is enabled.
  
  @return false if it is supported and not enabled
  @throws BleNotAvailableException if Bluetooth LE is not supported.  (Note: The Android emulator will do this)