code: def _is_visual(ft):
      """Whether a feature trait name is visual"""
      feature, trait = _split_feature_trait(ft)
      return (
          feature in ("line", "fill", "hatch", "text", "global")
          and trait is not None
      )
  
file_path: bokeh/src/bokeh/plotting/_renderer.py
imports: from __future__ import annotations
  import logging
  import sys
  from collections.abc import Iterable
  import numpy
  from ..core.properties import ColorSpec
  from ..models import ColumnarDataSource, ColumnDataSource, GlyphRenderer
  from ..util.strings import nice_join
  from ._legends import pop_legend_kwarg, update_legend
label_desc: Use image node_id 9 for calling a global function with example usage: _is_visual(ft) and returns: unknown