code: def is_np_compat():
      
      curr = ctypes.c_bool()
      check_call(_LIB.MXIsNumpyCompatible(ctypes.byref(curr)))
      return curr.value
docs: Checks whether the NumPy compatibility is currently turned on.
      NumPy-compatibility is turned off by default in backend.
  
      Returns
      -------
          A bool value indicating whether the NumPy compatibility is currently on.