code: def has_started(save_dir):
      train_log = os.path.join(save_dir, "train.log")
      if not os.path.exists(train_log):
          return False
      return True
  
file_path: mmf/tools/sweeps/lib/slurm.py
imports: import datetime
  import itertools
  import os
  import random
  import shlex
  import shutil
  import subprocess
  from collections import OrderedDict
  from glob import glob
  from mmf.utils.general import get_mmf_root
label_desc: Use image node_id 6 for calling a global function with example usage: has_started(save_dir) and returns: True, False