code: def _key_to_feature_name(key: str) -> str:
      """Extracts the feature name from the key in the Example dictionary."""
      if (match := _RAGGED_ROW_COLUMN.match(key)) is not None:
          return match.group("feature_name")
      else:
          return key
  
imports: from __future__ import annotations
  import abc
  from collections.abc import Iterable, Mapping, Sequence
  import dataclasses
  import re
  from typing import Any, Union
  import numpy
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.utils import dtype_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.proto import tf_example_pb2
  from tensorflow_datasets.proto import tf_feature_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _key_to_feature_name(key) and returns: match, key