code: def test_case_insensitive_enum_valid(self) -> None:
      prop = bcpe.Enum(NamedColor)
  
      assert prop.is_valid("red")
      assert prop.is_valid("Red")
      assert prop.is_valid("RED")
  
file_path: bokeh/tests/unit/bokeh/core/property/test_enum.py
imports: from __future__ import annotations
  import pytest
  from bokeh.core.enums import LineJoin, NamedColor
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.enum
label_desc: Use image node_id 6 for calling the Test_Enum obj's underlying member method code with example usage: obj.test_case_insensitive_enum_valid() without return types