code: def test_invalid(self) -> None:
      prop = bcpd.Time()
      assert not prop.is_valid(None)
      assert not prop.is_valid(
          datetime.datetime(2020, 1, 11, 19, 34, 57)
      )
      assert not prop.is_valid(datetime.date(2020, 1, 11))
      assert not prop.is_valid("")
      assert not prop.is_valid("02 01 2019")
      assert not prop.is_valid(False)
      assert not prop.is_valid(True)
      assert not prop.is_valid(1.0 + 1.0j)
      assert not prop.is_valid(())
      assert not prop.is_valid([])
      assert not prop.is_valid({})
      assert not prop.is_valid(_TestHasProps())
      assert not prop.is_valid(_TestModel())
  
imports: from __future__ import annotations
  import pytest
  import datetime
  import numpy
  import pandas
  from bokeh.util.serialization import convert_date_to_datetime
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.datetime
label_desc: Use image node_id 2 for calling the Test_Time obj's underlying member method code with example usage: obj.test_invalid() without return types