code: def test_invalid(self) -> None:
      prop = bcpc.List(Int)
  
      assert not prop.is_valid(None)
      assert not prop.is_valid(False)
      assert not prop.is_valid(True)
      assert not prop.is_valid(0)
      assert not prop.is_valid(1)
      assert not prop.is_valid(0.0)
      assert not prop.is_valid(1.0)
      assert not prop.is_valid(1.0 + 1.0j)
  
      assert not prop.is_valid([1, 2, 3.5])
      assert not prop.is_valid("")
      assert not prop.is_valid(())
      assert not prop.is_valid({})
  
      assert not prop.is_valid(np.array([1, 2, 3]))
  
      assert not prop.is_valid(_TestHasProps())
      assert not prop.is_valid(_TestModel())
  
imports: from __future__ import annotations
  import pytest
  import numpy
  import pandas
  from bokeh.core.properties import Any, Float, Instance, Int, Seq, String
  from bokeh.core.property.wrappers import PropertyValueDict, PropertyValueList, PropertyValueSet
  from bokeh.models import ColumnDataSource
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.container
label_desc: Use image node_id 3 for calling the Test_List obj's underlying member method code with example usage: obj.test_invalid() without return types