code: def test_all_any_accept_expr() -> None:
      lf = pl.LazyFrame(
          {
              "a": [1, None, 2, None],
              "b": [1, 2, None, None],
          }
      )
  
      result = lf.select(
          pl.any_horizontal(pl.all().is_null()).alias("null_in_row"),
          pl.all_horizontal(pl.all().is_null()).alias(
              "all_null_in_row"
          ),
      )
  
      expected = pl.LazyFrame(
          {
              "null_in_row": [False, True, True, True],
              "all_null_in_row": [False, False, False, True],
          }
      )
      assert_frame_equal(result, expected)
  
imports: from __future__ import annotations
  import datetime
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_all_any_accept_expr() without return types