code: def test_all(data: list[bool | None], expected: bool) -> None:
      assert pl.Series(data, dtype=pl.Boolean).all() is expected
  
file_path: polars/py-polars/tests/unit/series/test_all_any.py
imports: from __future__ import annotations
  import pytest
  import polars
label_desc: Use image node_id 4 for calling a global function with example usage: test_all(data, expected) without return types