code: def test_is_example_file():
      assert file_adapters.is_example_file("example1.tfrecord")
      assert file_adapters.is_example_file("example1.riegeli")
      assert file_adapters.is_example_file(
          "example1.tfrecord-00000-of-00001"
      )
      assert not file_adapters.is_example_file("example1.info")
  
file_path: datasets/tensorflow_datasets/core/file_adapters_test.py
imports: import pathlib
  from typing import Type
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import file_adapters
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_example_file() without return types