code: def nacm_enable_external_groups(self, **kwargs):
          
          config = ET.Element("config")
          nacm = ET.SubElement(config, "nacm", xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm")
          enable_external_groups = ET.SubElement(nacm, "enable-external-groups")
          enable_external_groups.text = kwargs.pop('enable_external_groups')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code