code: def GetPresetByName(self, name):
      
      name = name.lower()
      return self._definitions.get(name, None)
docs: Retrieves a specific preset definition by name.
  
      Args:
        name (str): name of the preset.
  
      Returns:
        ParserPreset: a parser preset or None if not available.