code: def is_openmpi_built():
      rank = os.environ.get("OMPI_COMM_WORLD_RANK")
      size = os.environ.get("OMPI_COMM_WORLD_SIZE")
      if rank is not None and size is not None:
          return True
      return False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: is_openmpi_built() and returns: False, True