code: def test_dataframe_setitem_scaler_bool():
      df = pd.DataFrame({"a": [1, 2, 3]})
      df[[True, False, True]] = pd.DataFrame({"a": [-1, -2]})
  
      gdf = cudf.DataFrame({"a": [1, 2, 3]})
      gdf[[True, False, True]] = cudf.DataFrame({"a": [-1, -2]})
      assert_eq(df, gdf)
  
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_150
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_dataframe_setitem_scaler_bool() without return types