code: def test_getattr(self):
      feature = feature_lib.Sequence(
          feature_lib.ClassLabel(names=["left", "right"]),
      )
      self.assertEqual(feature.names, ["left", "right"])
  
      feature = feature_lib.Sequence(
          {
              "label": feature_lib.ClassLabel(names=["left", "right"]),
          }
      )
      self.assertEqual(feature["label"].names, ["left", "right"])
  
imports: import numpy
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import features
label_desc: Use image node_id 5 for calling the SequenceFeatureTest obj's underlying member method code with example usage: obj.test_getattr() without return types