code: def is_registered_term(index, keyword):
      return index["terms"].get(keyword, []) != []
  
imports: import json
  import warnings
  from io import BytesIO
  import pytest
  from docutils import frontend, utils
  from docutils.parsers import rst
  from sphinx.search import IndexBuilder
label_desc: Use image node_id 3 for calling a global function with example usage: is_registered_term(index, keyword) and returns: unknown