code: def get_is_master_node():
      global __force_master_node
      if __force_master_node:
          return True
  
      return get_node_id(default=0) == 0
  
imports: import logging
  import os
  import sys
  from os.path import expandvars, expanduser
  from ..backend_api import load_config
  from ..backend_config import Config
  from ..backend_config.bucket_config import S3BucketConfigurations
  from .defs import *
  from .remote import running_remotely_task_id
  from ..utilities.proxy_object import LazyEvalWrapper
label_desc: Use image node_id 10 for calling a global function with example usage: get_is_master_node() and returns: unknown, True