code: def has_model(self, name):
          
          return self.es.exists(index=self.index_name,
                                doc_type=self.DOC_TYPE, id=name)
docs: Check if a model exists in the registry
          :param name: model name to test
          :return: True if yes