code: def get_unpacked_marks(obj):
      """
      obtain the unpacked marks that are stored on an object
      """
      mark_list = getattr(obj, "pytestmark", [])
      if not isinstance(mark_list, list):
          mark_list = [mark_list]
      return normalize_mark_list(mark_list)
  
imports: import inspect
  import warnings
  from collections import namedtuple
  from operator import attrgetter
  import attr
  import six
  from ..compat import ascii_escaped
  from ..compat import ATTRS_EQ_FIELD
  from ..compat import getfslineno
  from ..compat import MappingMixin
  from ..compat import NOTSET
  from _pytest.deprecated import PYTEST_PARAM_UNKNOWN_KWARGS
  from _pytest.outcomes import fail
  from _pytest.warning_types import PytestUnknownMarkWarning
label_desc: Use image node_id 4 for calling a global function with example usage: get_unpacked_marks(obj) and returns: normalize_mark_list