code: def get_name(name: str):
      """
      Get the name of the Metric class object.
  
      Parameters
      ----------
      name: string
          A metric name.
  
      Returns
      -------
      name: string
          A cleaned version of the Metric name.
      """
  
      if name.isupper():
          return name
      return " ".join(re.sub(r"([A-Z])", r" \1", name).split())
  
imports: import copy
  import re
  from importlib import util
  from typing import Any, Dict, Optional, Sequence, Tuple, Union, List, TypeVar
  import numpy
  from skimage.segmentation import slic, felzenszwalb
  from quantus.helpers import asserts
  from quantus.helpers.model.model_interface import ModelInterface
label_desc: Use image node_id 4 for calling a global function with example usage: get_name(name) and returns: str, name