class_docstr: This handler handles connection and execution of the Scylla statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Scylla","statements","."]
docstr: Check the connection of the Scylla database
  :return: success status and error message if error occurs
docstr_tok: ["Check","the","connection","of","the","Scylla","database",":","return",":","success","status","and","error","message","if","error","occurs"]
code: def check_connection(self) -> StatusResponse:
      """
      Check the connection of the Scylla database
      :return: success status and error message if error occurs
      """
      response = StatusResponse(False)
  
      try:
          session = self.connect()
          # TODO: change the healthcheck
          session.execute(
              "SELECT release_version FROM system.local"
          ).one()
          response.success = True
      except Exception as e:
          logger.error(
              f'Error connecting to Scylla {self.connection_args["keyspace"]}, {e}!'
          )
          response.error_message = e
  
      if response.success is False and self.is_connected is True:
          self.is_connected = False
  
      return response
  
imports: import os
  import tempfile
  from collections import OrderedDict
  import pandas
  import requests
  from cassandra.cluster import Cluster
  from cassandra.auth import PlainTextAuthProvider
  from cassandra.util import Date
  from mindsdb_sql import parse_sql
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql.parser import ast
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.utilities import log
label_desc: Use image node_id 4 for calling the ScyllaHandler obj's underlying member method code with example usage: obj.check_connection() and returns: response