code: def is_label_none(label):
      """Check if label (single label of a sample) is None."""
      result = pd.isnull(label)
      if isinstance(result, bool):
          return result
      return any(result)
  
file_path: deepchecks/deepchecks/utils/metrics.py
imports: from typing import Union
  import numpy
  import pandas
  from sklearn.metrics._scorer import _BaseScorer
  from deepchecks.core.errors import DeepchecksValueError
label_desc: Use image node_id 4 for calling a global function with example usage: is_label_none(label) and returns: any, result