code: def get_original_task_module(opt: Opt, multi_possible: bool = False):
      """
      Returns task module of "original" task.
  
      Original task in this case means the task we want to use
      with the control teacher.
  
      :param opt:
          opt dict
      :param multi_possible:
          specify True if multiple tasks are possible.
  
      :return task_module:
          return module associated with task.
      """
      modules = []
      tasks = opt["task"].split(",")
      if not multi_possible:
          assert len(tasks) == 1
  
      for task in tasks:
          if len(task.split(":")) < 3:
              raise RuntimeError(
                  "\n\n********************************************************\n"
                  "Must specify original task using the following format:\n"
                  "`--task internal:flattened:task:<ORIGINAL TASK NAME>`"
                  "\n********************************************************\n"
              )
          original_task = ":".join(task.split(":")[2:])
          task_module = load_teacher_module(original_task)
          modules.append(task_module)
  
      if multi_possible:
          return modules
  
      return modules[0]
  
file_path: ParlAI/parlai/tasks/genderation_bias/utils.py
imports: from collections import deque
  import random
  from parlai.core.loader import load_teacher_module
  from parlai.core.message import Message
  from parlai.core.opt import Opt
  from typing import List, Tuple
label_desc: Use image node_id 4 for calling a global function with example usage: get_original_task_module(opt, multi_possible) and returns: modules, modules