def _bool(self):
        old_json = self._json
        self._json = {'bit_start': self.used_bits()}
        self._markers.append({'at':self.used_bits(),'type':'bool'})
        retval = self._int((0, 1)) != 0
        self._json['value'] = retval
        old_json['bool%i'%self.used_bits()] = self._json
        self._json = old_json
        return retval
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/s2protocol/decoders.py/BitPackedDecoderDebug._bool/original