code: def get_folder(self, title):
          
          for folder in self.configManager.allFolders:
              if folder.title == title:
                  return folder
          return None
docs: Retrieve a folder by its title
          
          Usage: C{engine.get_folder(title)}
          
          Note that if more than one folder has the same title, only the first match will be
          returned.