code: def _is_multilabel(y):
      if hasattr(y, "__array__") or isinstance(y, Sequence):
          # DeprecationWarning will be replaced by ValueError, see NEP 34
          # https://numpy.org/neps/nep-0034-infer-dtype-is-object.html
          with warnings.catch_warnings():
              warnings.simplefilter(
                  "error", np.VisibleDeprecationWarning
              )
              try:
                  y = np.asarray(y)
              except np.VisibleDeprecationWarning:
                  # dtype=object should be provided explicitly for ragged arrays,
                  # see NEP 34
                  y = np.array(y, dtype=object)
  
      if not (hasattr(y, "shape") and y.ndim == 2 and y.shape[1] > 1):
          return False
  
      if sp.issparse(y):
          if isinstance(y, (sp.dok_matrix, sp.lil_matrix)):
              y = y.tocsr()
          return (
              len(y.data) == 0
              or np.unique(y.data).size == 1
              and (
                  y.dtype.kind in "biu"
                  or _is_integral_float(np.unique(y.data))
              )
          )
      labels = np.unique(y)
  
      return len(labels) < 3 and (
          y.dtype.kind in "biu" or _is_integral_float(labels)
      )
  
imports: import warnings
  from collections.abc import Sequence
  from numbers import Integral
  import numpy
  from scipy import sparse
  from sklearn.preprocessing import LabelEncoder
  from sklearn.utils.validation import check_array
  from daal4py.sklearn.utils.validation import _assert_all_finite
label_desc: Use image node_id 11 for calling a global function with example usage: _is_multilabel(y) and returns: unknown, False, unknown