code: def test_bool(self):
      a = testing.shaped_random(10000, self.xp, numpy.bool_)
      assert 4000 < self.xp.sum(a) < 6000
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestShapedRandomBool obj's underlying member method code with example usage: obj.test_bool() without return types