code: def test_valid_int(self) -> None:
      prop = bcpn.Interval(Int, 0, 255)
  
      # TODO (bev) should fail
      assert prop.is_valid(False)
      assert prop.is_valid(True)
  
      assert prop.is_valid(0)
      assert prop.is_valid(1)
      assert prop.is_valid(127)
  
imports: from __future__ import annotations
  import pytest
  from bokeh.core.properties import Float, Int
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.numeric
label_desc: Use image node_id 2 for calling the Test_Interval obj's underlying member method code with example usage: obj.test_valid_int() without return types