code: def _check_holiday_windows(holiday_windows: Dict[str, tuple]):
      """Check holiday windows.
  
      Parameters
      ----------
      holiday_windows : Dict[str, tuple]
          Dictionary with keys being holiday names and values being
          (n_days_before, n_days_after) tuples.
  
      """
      if not isinstance(holiday_windows, dict):
          raise ValueError(
              "`holiday_windows` must be a dictionary, "
              f"but found: {type(holiday_windows)}"
          )
      for holiday, window in holiday_windows.items():
          if not (
              isinstance(holiday, str)
              and isinstance(window, tuple)
              and len(window) == 2
          ):
              raise ValueError(
                  "`holiday_windows` must be a dictionary, with keys being strings "
                  "and values tuples of length 2"
              )
          for days in window:
              if not isinstance(days, int) and days >= 0:
                  raise ValueError(
                      "days in `holiday_windows` must all be non-negative, "
                      f"but found: {holiday}: {window}"
                  )
  
file_path: sktime/sktime/transformations/series/holiday/_holidayfeats.py
imports: import datetime
  from collections import defaultdict
  from datetime import date
  from typing import Dict
  import numpy
  import pandas
  from sktime.transformations.base import BaseTransformer
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling a global function with example usage: _check_holiday_windows(holiday_windows) without return types