code: def have_feature():
      cartcomm = MPI.COMM_SELF.Create_cart([1], periods=[0])
      try:
          cartcomm.neighbor_allgather(None)
          return True
      except NotImplementedError:
          return False
      finally:
          cartcomm.Free()
  
imports: from mpi4py import MPI
  import mpiunittest
label_desc: Use image node_id 3 for calling a global function with example usage: have_feature() and returns: True, False