class_docstr: This handler handles connection and execution of the Milvus statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Milvus","statements","."]
docstr: Check the connection to the Milvus database.
docstr_tok: ["Check","the","connection","to","the","Milvus","database","."]
code: def check_connection(self):
      """Check the connection to the Milvus database."""
      response_code = StatusResponse(False)
      try:
          response_code.success = connections.has_connection(
              self._connection_data["alias"]
          )
      except Exception as e:
          logger.error(f"Error checking Milvus connection: {e}!")
          response_code.error_message = str(e)
      return response_code
  
imports: from collections import OrderedDict
  from typing import List, Optional
  import pandas
  from pymilvus import Collection, CollectionSchema, DataType, FieldSchema, connections, utility
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.vectordatabase_handler import FilterCondition, FilterOperator, TableField, VectorStoreHandler
  from mindsdb.utilities import log
label_desc: Use image node_id 5 for calling the MilvusHandler obj's underlying member method code with example usage: obj.check_connection() and returns: response_code