code: def data(self, data):
          
          # Descendants should convert the data to the desired type here
          self._data = self._enforceDataType(data)
  
          #logger.debug("BoolCti.setData: {} for {}".format(data, self))
          enabled = self.enabled
          self.enableBranch(enabled and self.data != self.childrenDisabledValue)
          self.enabled = enabled
docs: Sets the data of this item.
              Does type conversion to ensure data is always of the correct type.