code: def _check_panoptic_metric_name(metric_name: str) -> str:
      metric_name = metric_name.replace(" ", "_")
      metric_name = metric_name.lower()
      if metric_name in ["panoptic_quality", "pq"]:
          return "pq"
      if metric_name in ["segmentation_quality", "sq"]:
          return "sq"
      if metric_name in ["recognition_quality", "rq"]:
          return "rq"
      raise ValueError(
          f"metric name: {metric_name} is wrong, please use 'pq', 'sq' or 'rq'."
      )
  
file_path: MONAI/monai/metrics/panoptic_quality.py
imports: from __future__ import annotations
  from collections.abc import Sequence
  import torch
  from monai.metrics.metric import CumulativeIterationMetric
  from monai.metrics.utils import do_metric_reduction, remap_instance_id
  from monai.utils import MetricReduction, ensure_tuple, optional_import
label_desc: Use image node_id 5 for calling a global function with example usage: _check_panoptic_metric_name(metric_name) and returns: str, str, str