code: def _is_class_label(feature_name_and_type):
      """Identifies a class label field when given a feature (name, type) pair."""
      _, feature_type = feature_name_and_type
      return isinstance(feature_type, tfds.features.ClassLabel)
  
imports: from typing import Any, Dict, Optional
  from absl import logging
  import numpy
  import tensorflow
  import tensorflow_datasets
  import tensorflow_text
  import vocabulary
label_desc: Use image node_id 7 for calling a global function with example usage: _is_class_label(feature_name_and_type) and returns: isinstance