code: def test_is_leap_year() -> None:
      assert pl.datetime_range(
          datetime(1990, 1, 1), datetime(2004, 1, 1), "1y", eager=True
      ).dt.is_leap_year().to_list() == [
          False,
          False,
          True,  # 1992
          False,
          False,
          False,
          True,  # 1996
          False,
          False,
          False,
          True,  # 2000
          False,
          False,
          False,
          True,  # 2004
      ]
  
imports: from __future__ import annotations
  import sys
  from datetime import date, datetime, time, timedelta
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.datatypes import DTYPE_TEMPORAL_UNITS
  from polars.dependencies import _ZONEINFO_AVAILABLE
  from polars.exceptions import ComputeError, InvalidOperationError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 35 for calling a global function with example usage: test_is_leap_year() without return types