code: def setComponentByName(self, name, value=noValue,
                             verifyConstraints=True,
                             matchTags=True,
                             matchConstraints=True):
          
          if self._componentTypeLen:
              idx = self.componentType.getPositionByName(name)
          else:
              try:
                  idx = self._dynamicNames.getPositionByName(name)
  
              except KeyError:
                  raise error.PyAsn1Error('Name %s not found' % (name,))
  
          return self.setComponentByPosition(
              idx, value, verifyConstraints, matchTags, matchConstraints
          )
docs: Assign |ASN.1| type component by name.
  
          Equivalent to Python :class:`dict` item assignment operation (e.g. `[]`).
  
          Parameters
          ----------
          name: :class:`str`
              |ASN.1| type component name
  
          Keyword Args
          ------------
          value: :class:`object` or :py:class:`~pyasn1.type.base.PyAsn1Item` derivative
              A Python value to initialize |ASN.1| component with (if *componentType* is set)
              or ASN.1 value object to assign to |ASN.1| component.
  
          verifyConstraints: :class:`bool`
               If `False`, skip constraints validation
  
          matchTags: :class:`bool`
               If `False`, skip component tags matching
  
          matchConstraints: :class:`bool`
               If `False`, skip component constraints matching
  
          Returns
          -------
          self