code: def _is_run(dir):
      opref_path = os.path.join(dir, ".guild", "opref")
      return os.path.exists(opref_path)
  
imports: import glob
  import hashlib
  import logging
  import os
  from guild import tensorboard_util
label_desc: Use image node_id 8 for calling a global function with example usage: _is_run(dir) and returns: os