code: def test_with_models(self) -> None:
      assert (
          beb._any(
              {plot(), table()}, lambda x: isinstance(x, models.Plot)
          )
          is True
      )
      assert (
          beb._any(
              {plot(), table()}, lambda x: isinstance(x, models.Button)
          )
          is False
      )
  
imports: from __future__ import annotations
  import pytest
  from os.path import dirname, join
  from bokeh import models
  from bokeh.core.has_props import _default_resolver
  from bokeh.document import Document
  from bokeh.embed.bundle import URL, extension_dirs
  from bokeh.ext import build
  from bokeh.resources import CDN, INLINE, Resources
  from tests.support.util.env import envset
  import bokeh.embed.bundle
label_desc: Use image node_id 1 for calling the Test__any obj's underlying member method code with example usage: obj.test_with_models() without return types