code: def warn(txt, act, opt):
      if opt.get("display_examples"):
          print(txt + ":\n" + str(act))
      else:
          warn_once(txt)
  
file_path: ParlAI/parlai/scripts/verify_data.py
imports: from parlai.agents.repeat_label.repeat_label import RepeatLabelAgent
  from parlai.core.message import Message
  from parlai.core.params import ParlaiParser
  from parlai.utils.misc import TimeLogger, warn_once
  from parlai.core.worlds import create_task
  from parlai.core.script import ParlaiScript, register_script
  import parlai.utils.logging
label_desc: Use image node_id 3 for calling a global function with example usage: warn(txt, act, opt) without return types