code: def exists(self, index, doc_type, id, **query_params):
          
          self._es_parser.is_not_empty_params(index, doc_type, id)
          path = self._es_parser.make_path(index, doc_type, id)
          result = yield self._perform_request(HttpMethod.HEAD,
                                               path,
                                               params=query_params)
          returnValue(result)
docs: Check if the doc exist in the elastic search
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html>`_
          :param index: the index name
          :param doc_type: the document type
          :param id: the id of the doc type
          :arg parent: The ID of the parent document
          :arg preference: Specify the node or shard the operation should be
              performed on (default: random)
          :arg realtime: Specify whether to perform the operation in realtime or
              search mode
          :arg refresh: Refresh the shard containing the document before
              performing the operation
          :arg routing: Specific routing value