code: def test_valid(self) -> None:
      prop = bcpa.AnyRef()
      assert prop.is_valid(None)
      assert prop.is_valid(False)
      assert prop.is_valid(True)
      assert prop.is_valid(0)
      assert prop.is_valid(1)
      assert prop.is_valid(0.0)
      assert prop.is_valid(1.0)
      assert prop.is_valid(1.0 + 1.0j)
      assert prop.is_valid("")
      assert prop.is_valid(())
      assert prop.is_valid([])
      assert prop.is_valid({})
      assert prop.is_valid(_TestHasProps())
      assert prop.is_valid(_TestModel())
  
file_path: bokeh/tests/unit/bokeh/core/property/test_any.py
imports: from __future__ import annotations
  import pytest
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.any
label_desc: Use image node_id 1 for calling the Test_AnyRef obj's underlying member method code with example usage: obj.test_valid() without return types