code: def get(self, index, id, doc_type="_all", params=None):
      result = None
      if index in self.__documents_dict:
          result = self.find_document(doc_type, id, index, result)
  
      if result:
          result["found"] = True
      else:
          error_data = {
              "_index": index,
              "_type": doc_type,
              "_id": id,
              "found": False,
          }
          raise NotFoundError(404, json.dumps(error_data))
  
      return result
  
imports: from __future__ import annotations
  import fnmatch
  import json
  from elasticsearch import Elasticsearch
  from elasticsearch.exceptions import NotFoundError
  from .utilities import MissingIndexException, get_random_id, query_params
label_desc: Use image node_id 7 for calling the FakeElasticsearch obj's underlying member method code with example usage: obj.get(index, id, doc_type, params) and returns: result