code: def _check_download(self, download: DownloadableFile):
      # Check the actual header 3 times before failing
      for i in range(3):
          try:
              check_header(
                  download._url, from_google=download._from_google
              )
              break
          except AssertionError:
              if i == 2:
                  raise
              else:
                  # If failed, add a sleep of 5 seconds before retrying
                  time.sleep(2)
  
file_path: mmf/tests/configs/test_zoo_urls.py
imports: import re
  import time
  import typing
  import unittest
  from mmf.utils.configuration import load_yaml
  from mmf.utils.download import check_header, DownloadableFile
  from omegaconf import DictConfig, OmegaConf
  from tests.test_utils import skip_if_macos, skip_if_no_network
label_desc: Use image node_id 2 for calling the TestConfigsForKeys obj's underlying member method code with example usage: obj._check_download(download) without return types