code: def test_make_bool():
      n = 10
      state = np.random.RandomState(12)
      arr = gd.datasets.make_bool(n, state)
      assert np.alltrue(np.isin(arr, [True, False]))
      assert arr.size == n
      assert arr.dtype == bool
  
imports: import numpy
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 2 for calling a global function with example usage: test_make_bool() without return types