class_docstr: Class for building, loading and working with Hierarchical Navigable Small World index.
class_docstr_tok: ["Class","for","building",",","loading","and","working","with","Hierarchical","Navigable","Small","World","index","."]
code: def _check_index(self):
      if self._index is None:
          raise HnswException("Index is not built and not loaded")
  
imports: import sys
  import os
  from six import iteritems
  from enum import IntEnum
  from contextlib import contextmanager
  import json
label_desc: Use image node_id 3 for calling the Hnsw obj's underlying member method code with example usage: obj._check_index() without return types