def _value(self): status, value = native_bt.value_bool_get(self._ptr) assert (status == native_bt.VALUE_STATUS_OK) return value > 0
def _value(self): status, value = native_bt.value_bool_get(self._ptr) assert(status == native_bt.VALUE_STATUS_OK) return value > 0
def _value(self): value = native_bt.value_bool_get(self._ptr) return value != 0
def value(self): status, value = native_bt.value_bool_get(self._ptr) self._handle_status(status) return value