code: def is_eager_mode():
      in_kernel = is_kernel_mode()
      if not in_kernel:
          return options.eager_mode
      else:
          # in kernel, eager mode always False
          return 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 1 for calling a global function with example usage: is_eager_mode() and returns: options, False