code: def test_gcs_access():
      gcs_utils = test_utils.utils.gcs_utils
  
      def is_lambda(fn):
          """Returns True if the function is a lambda."""
          return callable(fn) and fn.__name__ == (lambda: None).__name__
  
      # Test that `gcs_utils.gcs_dataset_info_files` is correctly patched
      assert not is_lambda(gcs_utils.gcs_dataset_info_files)
      with test_utils.disable_gcs_access():
          assert is_lambda(gcs_utils.gcs_dataset_info_files)
          with test_utils.enable_gcs_access():
              assert not is_lambda(gcs_utils.gcs_dataset_info_files)
          assert is_lambda(gcs_utils.gcs_dataset_info_files)
      assert not is_lambda(gcs_utils.gcs_dataset_info_files)
  
file_path: datasets/tensorflow_datasets/testing/test_utils_test.py
imports: import pathlib
  import pytest
  import tensorflow
  from tensorflow_datasets.testing import test_case
  from tensorflow_datasets.testing import test_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_gcs_access() and returns: unknown