code: def test_connection(self):
      try:
          self.es.cluster.health()
          return True
      except ConnectionError:
          return False
      except Exception as e:
          logger.info(
              "An unknown error occured connecting to ElasticSearch: %s"
              % e
          )
          return False
  
file_path: neuralqa/neuralqa/retriever/elasticsearchretriever.py
imports: from neuralqa.retriever import Retriever
  from neuralqa.utils import parse_field_content
  from elasticsearch import Elasticsearch, ConnectionError, NotFoundError
  import logging
label_desc: Use image node_id 3 for calling the ElasticSearchRetriever obj's underlying member method code with example usage: obj.test_connection() and returns: True, False, False