code: def wait_job_is_running(job: Job) -> None:
      while job.state in ("UNKNOWN", "PENDING"):
          log.info(f"{job} is not RUNNING")
          time.sleep(60)
  
file_path: submitit/integration/preemption.py
imports: import getpass
  import logging
  import shutil
  import subprocess
  import time
  from datetime import datetime
  from pathlib import Path
  import submitit
  from submitit import AutoExecutor, Job
  from submitit.core import test_core
label_desc: Use image node_id 3 for calling a global function with example usage: wait_job_is_running(job) without return types