code: def test_nested_logical() -> None:
      assert pl.select(
          pl.lit(pl.Series(["a", "b"], dtype=pl.Categorical))
          .implode()
          .implode()
      ).to_dict(as_series=False) == {"": [[["a", "b"]]]}
  
imports: from __future__ import annotations
  import pickle
  from datetime import date, datetime, time
  from typing import TYPE_CHECKING, Any
  import pandas
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 25 for calling a global function with example usage: test_nested_logical() without return types