getElasticSearchClient(); $index = array( 'index' => $instance->getIndexName(), ); return $client->indices()->exists($index); } }