code: def _ext_use_tables(all_objs: set[HasProps]) -> bool:
      from ..models.widgets import TableWidget
  
      return _query_extensions(
          all_objs, lambda cls: issubclass(cls, TableWidget)
      )
  
imports: from __future__ import annotations
  import logging
  import hashlib
  import json
  import os
  from dataclasses import dataclass
  from os.path import normpath
  from pathlib import Path
  from typing import TYPE_CHECKING, Callable, Iterator, Sequence, TypedDict
  from urllib.parse import urljoin
  from ..core.has_props import HasProps
  from ..core.templates import CSS_RESOURCES, JS_RESOURCES
  from ..document.document import Document
  from ..resources import Resources
  from ..settings import settings
  from ..util.compiler import bundle_models
  from .util import contains_tex_string
label_desc: Use image node_id 11 for calling a global function with example usage: _ext_use_tables(all_objs) and returns: _query_extensions