code: def test_allany(split_every):
      df = pd.DataFrame(
          np.random.choice([True, False], size=(100, 4)),
          columns=["A", "B", "C", "D"],
      )
      df["E"] = list("abcde") * 20
      ddf = dd.from_pandas(df, 10)
  
      assert_eq(ddf.all(split_every=split_every), df.all())
      assert_eq(
          ddf.all(axis=1, split_every=split_every), df.all(axis=1)
      )
      assert_eq(
          ddf.all(axis=0, split_every=split_every), df.all(axis=0)
      )
  
      assert_eq(ddf.any(split_every=split_every), df.any())
      assert_eq(
          ddf.any(axis=1, split_every=split_every), df.any(axis=1)
      )
      assert_eq(
          ddf.any(axis=0, split_every=split_every), df.any(axis=0)
      )
  
      assert_eq(ddf.A.all(split_every=split_every), df.A.all())
      assert_eq(ddf.A.any(split_every=split_every), df.A.any())
  
      # testing numpy functions with out param
      ddf_out_axis_default = dd.from_pandas(
          pd.Series(
              [False, False, False, False, False],
              index=["A", "B", "C", "D", "E"],
          ),
          10,
      )
      ddf_out_axis1 = dd.from_pandas(
          pd.Series(np.random.choice([True, False], size=(100,))), 10
      )
  
      with pytest.warns(
          FutureWarning, match="the 'out' keyword is deprecated"
      ):
          ddf.all(split_every=split_every, out=ddf_out_axis_default)
      assert_eq(ddf_out_axis_default, df.all())
  
      with pytest.warns(
          FutureWarning, match="the 'out' keyword is deprecated"
      ):
          ddf.all(axis=1, split_every=split_every, out=ddf_out_axis1)
      assert_eq(ddf_out_axis1, df.all(axis=1))
  
      with pytest.warns(
          FutureWarning, match="the 'out' keyword is deprecated"
      ):
          ddf.all(
              split_every=split_every, axis=0, out=ddf_out_axis_default
          )
      assert_eq(ddf_out_axis_default, df.all(axis=0))
  
      # any
      with pytest.warns(
          FutureWarning, match="the 'out' keyword is deprecated"
      ):
          ddf.any(split_every=split_every, out=ddf_out_axis_default)
      assert_eq(ddf_out_axis_default, df.any())
  
      with pytest.warns(
          FutureWarning, match="the 'out' keyword is deprecated"
      ):
          ddf.any(axis=1, split_every=split_every, out=ddf_out_axis1)
      assert_eq(ddf_out_axis1, df.any(axis=1))
  
      with pytest.warns(
          FutureWarning, match="the 'out' keyword is deprecated"
      ):
          ddf.any(
              split_every=split_every, axis=0, out=ddf_out_axis_default
          )
      assert_eq(ddf_out_axis_default, df.any(axis=0))
  
imports: from __future__ import annotations
  import contextlib
  import warnings
  from datetime import datetime
  import numpy
  import pandas
  import pytest
  from pandas.api.types import is_scalar
  import dask.dataframe
  from dask.array.numpy_compat import _numpy_125
  from dask.dataframe._compat import PANDAS_GE_140, PANDAS_GE_150, PANDAS_GE_200, PANDAS_VERSION, check_numeric_only_deprecation
  from dask.dataframe.utils import assert_dask_graph, assert_eq, make_meta, pyarrow_strings_enabled
label_desc: Use image node_id 13 for calling a global function with example usage: test_allany(split_every) without return types