code: def to_python(self):
          
          if isinstance(self.data, str):
              return self.data.strip().lower() == 'true'
          if isinstance(self.data, int):
              return self.data > 0
          return bool(self.data)
docs: The string ``'True'`` (case insensitive) will be converted
          to ``True``, as will any positive integers.