class_docstr_tok: []
code: def _check_cdsview_filters_with_connected(self):
      if isinstance(self.glyph, ConnectedXYGlyph) and not isinstance(
          self.view.filter, AllIndices
      ):
          return str(self)
  
file_path: bokeh/src/bokeh/models/renderers/glyph_renderer.py
imports: from __future__ import annotations
  import logging
  from difflib import get_close_matches
  from typing import TYPE_CHECKING, Any, Literal
  from bokeh.core.property.vectorization import Field
  from ...core.properties import Auto, Bool, Either, Instance, InstanceDefault, Nullable, Required
  from ...core.validation import error
  from ...core.validation.errors import BAD_COLUMN_NAME, CDSVIEW_FILTERS_WITH_CONNECTED
  from ..filters import AllIndices
  from ..glyphs import ConnectedXYGlyph, Glyph
  from ..graphics import Decoration, Marking
  from ..sources import CDSView, ColumnDataSource, DataSource, WebDataSource
  from .renderer import DataRenderer
label_desc: Use image node_id 2 for calling the GlyphRenderer obj's underlying member method code with example usage: obj._check_cdsview_filters_with_connected() and returns: str