code: def find_preset(self, preset):
          
          # FIXME: allow fuzzy matching?
          for match in self.presets.keys():
              if match == preset:
                  return self.presets[match]
  
          return None
docs: Find a preset profile matching the specified preset string.
  
              :param preset: a string containing a preset profile name.
              :returns: a matching PresetProfile.