code: def uses_pandas(obj: Any) -> bool:
      """
      Checks if an object is a ``pandas`` object.
  
      Use this before conditional ``import pandas as pd``.
      """
      module = type(obj).__module__
      return module is not None and module.startswith("pandas.")
  
file_path: bokeh/src/bokeh/util/dependencies.py
imports: from __future__ import annotations
  import logging
  from importlib import import_module
  from types import ModuleType
  from typing import Any
label_desc: Use image node_id 3 for calling a global function with example usage: uses_pandas(obj) and returns: unknown