code: def _is_meta_keywords(
      node: nodes.meta,  # type: ignore[name-defined]
      lang: str | None,
  ) -> bool:
      if node.get("name") == "keywords":
          meta_lang = node.get("lang")
          if meta_lang is None:  # lang not specified
              return True
          elif meta_lang == lang:  # matched to html_search_language
              return True
  
      return False
  
imports: from __future__ import annotations
  import dataclasses
  import functools
  import html
  import json
  import pickle
  import re
  from importlib import import_module
  from os import path
  from typing import IO, TYPE_CHECKING, Any
  from docutils import nodes
  from docutils.nodes import Element, Node
  from sphinx import addnodes, package_dir
  from sphinx.environment import BuildEnvironment
  from sphinx.util.index_entries import split_index_msg
  from sphinx.search.en import SearchEnglish
label_desc: Use image node_id 2 for calling a global function with example usage: _is_meta_keywords(node, lang) and returns: False, True, True