(self)
return IOBluetoothPreferenceGetControllerPowerState() == 1
Return True if the BLE adapter is powered up, otherwise return False.
Return True if the BLE adapter is powered up, otherwise return False.
Return True if the BLE adapter is powered up otherwise return False .
def is_powered(self):
        """Return True if the BLE adapter is powered up, otherwise return False.
        """
        return IOBluetoothPreferenceGetControllerPowerState() == 1
def is_powered ( self ) : return IOBluetoothPreferenceGetControllerPowerState ( ) == 1