code: def confd_state_version(self, **kwargs):
          
          config = ET.Element("config")
          confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
          version = ET.SubElement(confd_state, "version")
          version.text = kwargs.pop('version')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code