class_docstr: Domain for citations.
class_docstr_tok: ["Domain","for","citations","."]
code: def check_consistency(self) -> None:
      for name, (docname, _labelid, lineno) in self.citations.items():
          if name not in self.citation_refs:
              logger.warning(
                  __("Citation [%s] is not referenced."),
                  name,
                  type="ref",
                  subtype="citation",
                  location=(docname, lineno),
              )
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, cast
  from docutils import nodes
  from sphinx.addnodes import pending_xref
  from sphinx.domains import Domain
  from sphinx.locale import __
  from sphinx.transforms import SphinxTransform
  from sphinx.util import logging
  from sphinx.util.nodes import copy_source_info, make_refnode
label_desc: Use image node_id 7 for calling the CitationDomain obj's underlying member method code with example usage: obj.check_consistency() without return types