text: import datetime
  
  last_task_id = 0
  
  
  class Task:
      def __init__(self, task_text):
          self.creation_date = datetime.date.today()
          self.task_text = task_text
          self.comments = []
          global last_task_id
          last_task_id += 1
          self.task_id = last_task_id
  
      def match(self, filter):
          return filter in self.task_text or [True for comment in self.comments if filter in comment]
  