code: def get_policy_class_name(policy_class: type):
      """Returns a string name for the provided policy class.
  
      Args:
          policy_class: RLlib policy class, e.g. A3CTorchPolicy, DQNTFPolicy, etc.
  
      Returns:
          A string name uniquely mapped to the given policy class.
      """
      # TF2 policy classes may get automatically converted into new class types
      # that have eager tracing capability.
      # These policy classes have the "_traced" postfix in their names.
      # When checkpointing these policy classes, we should save the name of the
      # original policy class instead. So that users have the choice of turning
      # on eager tracing during inference time.
      name = re.sub("_traced$", "", policy_class.__name__)
      if name in POLICIES:
          return name
      return None
  
imports: import importlib
  import re
  from ray.rllib.utils.deprecation import Deprecated
label_desc: Use image node_id 37 for calling a global function with example usage: get_policy_class_name(policy_class) and returns: None, name