code: def remove_year_from_title(title):
      matches = re.finditer(r"\s\(", title)
      indices = [m.start(0) for m in matches]
      if indices:
          title_end = indices[-1]
          return title[:title_end]
      else:
          return title
  
imports: from parlai.core.teachers import FixedDialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import os
  import json
  import re
  import csv
label_desc: Use image node_id 2 for calling a global function with example usage: remove_year_from_title(title) and returns: title, title