code: def broken_mpi_spawn():
      darwin = sys.platform == "darwin"
      windows = sys.platform == "win32"
      name, version = MPI.get_vendor()
      if name == "Open MPI":
          if version < (3, 0, 0):
              return True
          if version == (4, 0, 0):
              return True
          if version == (4, 0, 1) and darwin:
              return True
          if version == (4, 0, 2) and darwin:
              return True
          if version >= (4, 1, 0) and version < (4, 2, 0):
              if os.environ.get("GITHUB_ACTIONS") == "true":
                  return True
      if name == "MPICH":
          if version >= (3, 4) and version < (4, 0) and darwin:
              return True
          if version < (4, 1):
              if MPI.COMM_WORLD.Get_attr(MPI.APPNUM) is None:
                  return True
          if version < (4, 3):
              try:
                  port = MPI.Open_port()
                  MPI.Close_port(port)
              except:
                  return True
      if name == "Intel MPI":
          import mpi4py
  
          if mpi4py.rc.recv_mprobe:
              return True
          if MPI.COMM_WORLD.Get_size() > 1 and windows:
              return True
      if name == "Microsoft MPI":
          if version < (8, 1, 0):
              return True
          if MPI.COMM_WORLD.Get_attr(MPI.APPNUM) is None:
              return True
      if name == "MVAPICH":
          if MPI.COMM_WORLD.Get_attr(MPI.APPNUM) is None:
              return True
      if name == "MPICH2":
          if MPI.COMM_WORLD.Get_attr(MPI.APPNUM) is None:
              return True
      if name == "MVAPICH2":
          return True
      if MPI.Get_version() < (2, 0):
          return True
      if any(map(sys.modules.get, ("cupy", "numba"))):
          return True
      #
      return False
  
imports: from mpi4py import MPI
  import mpi4py.util.pool
  import concurrent.futures
  import itertools
  import functools
  import warnings
  import unittest
  import time
  import sys
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: broken_mpi_spawn() and returns: False, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True