code: def warn_empty_segmentation() -> None:
      """
      Warn if the segmentation mask is empty.
  
      Returns
      -------
      None
      """
      warnings.warn(
          "Return np.nan as result as the segmentation map is empty."
      )
  
file_path: Quantus/quantus/helpers/warn.py
imports: import time
  import warnings
  import numpy
  from quantus.helpers.utils import get_name
label_desc: Use image node_id 6 for calling a global function with example usage: warn_empty_segmentation() without return types