def decode(self, value):
        return {'0': False, '1': True}[value]
Converts an encoded string '1'/'0' into a python boolean object.
dataset/ETHPy150Open saymedia/python-simpledb/simpledb/models.py/BooleanField.decode