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.

def is_np_compat():
    """
    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.
    """
    curr = ctypes.c_bool()
    check_call(_LIB.MXIsNumpyCompatible(ctypes.byref(curr)))
    return curr.value