code: def is_engine_spec(obj: Any) -> bool:
      """
      Return true if a given object is a DB engine spec.
      """
      return (
          inspect.isclass(obj)
          and issubclass(obj, BaseEngineSpec)
          and obj != BaseEngineSpec
      )
  
file_path: superset/superset/db_engine_specs/__init__.py
imports: import inspect
  import logging
  import pkgutil
  from collections import defaultdict
  from importlib import import_module
  from pathlib import Path
  from typing import Any, Optional
  import sqlalchemy.dialects
  from importlib_metadata import entry_points
  from sqlalchemy.engine.default import DefaultDialect
  from sqlalchemy.exc import NoSuchModuleError
  from superset import app, feature_flag_manager
  from superset.db_engine_specs.base import BaseEngineSpec
label_desc: Use image node_id 1 for calling a global function with example usage: is_engine_spec(obj) and returns: unknown