code: def check_labels(labels):
      """Check annotation label.
  
      Parameters
      ----------
      labels : str {"indicator", "score", "int_label"}
          Annotation labels
  
      Returns
      -------
      label : str
          Checked annotation label.
      """
      valid_labels = ["indicator", "score", "int_label"]
      if labels not in valid_labels:
          raise ValueError(
              f"`labels` must be in: {valid_labels}, but found: {labels}."
          )
  
label_desc: Use image node_id 2 for calling a global function with example usage: check_labels(labels) without return types