code: def test_nested_struct_logicals() -> None:
      # single nested
      payload1 = [[{"a": time(10)}], [{"a": time(10)}]]
      assert pl.Series(payload1).to_list() == payload1
      # double nested
      payload2 = [[[{"a": time(10)}]], [[{"a": time(10)}]]]
      assert pl.Series(payload2).to_list() == payload2
  
imports: from __future__ import annotations
  from dataclasses import dataclass
  from datetime import datetime, time
  from typing import TYPE_CHECKING
  import pandas
  import pyarrow
  import pytest
  import polars
  import polars.selectors
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 43 for calling a global function with example usage: test_nested_struct_logicals() without return types