docs: public boolean isExistsType(String indexName, String indexType) {
          TypesExistsResponse response =
                  getClient().admin().indices()
                          .typesExists(new TypesExistsRequest(new String[]{indexName}, indexType)
                          ).actionGet();
          return response.isExists();
      }