code: def check_global_mark(name="workflow"):
      mark_file = _GLOBAL_MARK_PATH / f"workflow-{name}"
      return mark_file.exists()
  
file_path: ray/python/ray/workflow/tests/utils.py
imports: import pathlib
  import tempfile
label_desc: Use image node_id 3 for calling a global function with example usage: check_global_mark(name) and returns: mark_file