code: def test_valid(self) -> None:
      prop = bcpp.Bool()
  
      assert prop.is_valid(False)
      assert prop.is_valid(True)
  
      assert prop.is_valid(np.bool_(False))
      assert prop.is_valid(np.bool_(True))
  
imports: from __future__ import annotations
  import pytest
  from typing import TYPE_CHECKING
  import numpy
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.primitive
label_desc: Use image node_id 1 for calling the Test_Bool obj's underlying member method code with example usage: obj.test_valid() without return types