code: def is_local_run() -> bool:
      return FLAGS.lp_launch_type.startswith("local")
  
file_path: acme/acme/utils/lp_utils.py
imports: import atexit
  import functools
  import inspect
  import os
  import sys
  import time
  from typing import Any, Callable, Optional
  from absl import flags
  from absl import logging
  from acme.utils import counting
  from acme.utils import signals
label_desc: Use image node_id 2 for calling a global function with example usage: is_local_run() and returns: FLAGS