code: def is_distributed_mode() -> bool:
      """Return if the current context is in distributed mode or not"""
      return os.environ.get("AG_DISTRIBUTED_MODE", False)
  
imports: import os
label_desc: Use image node_id 3 for calling the DistributedContext obj's underlying member method code with example usage: obj.is_distributed_mode() and returns: os