code: def is_connected(elastic_host, elastic_port):
      elastic_search_url = (
          "http://" + elastic_host + ":" + str(elastic_port)
      )
      res = requests.get(elastic_search_url)
      if res.content:
          return True
      return False
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/wikipedia/wiki_elastic.py
imports: import logging
  import sys
  import traceback
  import requests
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page import WikipediaPage
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page_extracted_relations import WikipediaPageExtractedRelations
  from nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result import WikipediaSearchPageResult
label_desc: Use image node_id 2 for calling the WikiElastic obj's underlying member method code with example usage: obj.is_connected(elastic_host, elastic_port) and returns: False, True