code: def disabled_test_restricted_bucket_on_NDA():
      get_test_providers(
          "s3://NDAR_Central_4/", reload=True
      )  # to verify having credentials to access
      for url, success_str, failed_str in [
          (
              "s3://NDAR_Central_4/submission_23075/README",
              "BIDS",
              "error",
          ),
          (
              "s3://NDAR_Central_4/submission_23075/dataset_description.json",
              "DA041147",
              "error",
          ),
      ]:
          check_download_external_url(url, failed_str, success_str)
  
imports: import os
  from unittest.mock import patch
  import pytest
  from ...downloaders.base import DownloadError
  from ...support import path
  from ...support.exceptions import AccessDeniedError
  from ...tests.utils_pytest import SkipTest, assert_equal, assert_raises, integration, skip_if_no_module, skip_if_no_network, swallow_outputs, turtle, use_cassette, with_tempfile, with_testsui
  from ...utils import md5sum
  from ..providers import Providers
  from ..s3 import S3Authenticator, S3Downloader
  from .test_http import check_download_external_url
  from .utils import get_test_providers
label_desc: Use image node_id 7 for calling a global function with example usage: disabled_test_restricted_bucket_on_NDA() without return types