@query_params('allow_no_indices', 'expand_wildcards', 'ignore_unavailable',
        'local')
    def exists_type(self, index, doc_type, params=None):
        for param in (index, doc_type):
            if param in SKIP_IN_PATH:
                raise ValueError("Empty value passed for a required argument.")
        return self.transport.perform_request('HEAD', _make_path(index, doc_type),
                params=params)
Check if a type/types exists in an index/indices.
dataset/ETHPy150Open elastic/elasticsearch-py/elasticsearch/client/indices.py/IndicesClient.exists_type