code: def test_check_link_downloadable(name):
      """Test dataset URL from forecasting.org is downloadable and exits."""
      url = (
          f"https://zenodo.org/record/{tsf_all[name]}/files/{name}.zip"
      )
  
      # Send a GET request to check if the link exists without downloading the file
      req = Request(url, method="HEAD")
      response = urlopen(req)
  
      # Check if the response status code is 200 (OK)
      assert (
          response.status == 200
      ), f"URL is not valid or does not exist. Error code {response.status}."
  
      # Check if the response headers indicate that the content is downloadable
      content_type = response.headers.get("Content-Type")
      content_disposition = response.headers.get("Content-Disposition")
  
      assert (
          "application/octet-stream" in content_type
      ), "URL is not downloadable."
      assert (
          "attachment" in content_disposition
      ), "URL is not downloadable."
  
file_path: sktime/sktime/datasets/tests/test_datadownload.py
imports: from urllib.request import Request, urlopen
  import numpy
  import pandas
  import pytest
  from sktime.datasets import load_forecastingdata, load_solar, load_UCR_UEA_dataset
  from sktime.datasets.tsf_dataset_names import tsf_all, tsf_all_datasets
label_desc: Use image node_id 4 for calling a global function with example usage: test_check_link_downloadable(name) without return types