code: def match(self, p_todo):
          
          try:
              self.todos.index(p_todo)
              return True
          except ValueError:
              return False
docs: Returns True when p_todo appears in the list of given todos.