code: def is_silenced(warning: Warning) -> bool:
      """Check if a warning has been silenced.
  
      Args:
          warning (Warning) : Bokeh warning to check
  
      Returns:
          bool
  
      """
      return warning in __silencers__
  
file_path: bokeh/src/bokeh/core/validation/check.py
imports: from __future__ import annotations
  import logging
  import contextlib
  from typing import Iterable, Iterator, Literal, Protocol
  from ...model import Model
  from ...settings import settings
  from ...util.dataclasses import dataclass
  from .issue import Warning
label_desc: Use image node_id 2 for calling a global function with example usage: is_silenced(warning) and returns: unknown