code: def is_smart(self, value):
          
          self.set_bool("is_smart", value)
          if value is True:
              if self.find("criteria") is None:
                  # pylint: disable=attribute-defined-outside-init
                  self.criteria = ElementTree.SubElement(self, "criteria")
docs: Set group is_smart property to value.
  
          Args:
              value: Boolean.