code: def is_build_mode():
      return bool(getattr(_internal_mode, "build", False))
  
file_path: mars/mars/core/mode.py
imports: import functools
  import inspect
  import threading
  from ..config import options
label_desc: Use image node_id 3 for calling a global function with example usage: is_build_mode() and returns: bool