code: def check_import(flag):
      if not flag:
          raise ImportError(
              "'examples.simultaneous_translation' is not correctly imported. "
              "Please considering `pip install -e $FAIRSEQ_DIR`."
          )
  
file_path: fairseq/fairseq/tasks/simultaneous_translation.py
imports: import logging
  from fairseq.tasks import register_task
  from fairseq.tasks.speech_to_text import SpeechToTextTask
  from fairseq.tasks.translation import TranslationTask, TranslationConfig
label_desc: Use image node_id 1 for calling a global function with example usage: check_import(flag) without return types