code: def get_tag(obj, tag_name):
      """Shorthand for get_tag vs get_class_tag, obj can be class or object."""
      if isclass(obj):
          return obj.get_class_tag(tag_name)
      else:
          return obj.get_tag(tag_name)
  
imports: from inspect import isclass
  import pandas
  from sktime.base import BaseObject
  from sktime.datatypes import convert_to
  from sktime.utils._testing.panel import make_transformer_problem
  from sktime.utils._testing.scenarios import TestScenario
  from sktime.utils._testing.series import _make_series
label_desc: Use image node_id 1 for calling a global function with example usage: get_tag(obj, tag_name) and returns: obj, obj