def METHOD_NAME(self) -> StatusResponse:
    """
    Check the connection of the Trino instance
    :return: success status and error message if error occurs
    """
    response = StatusResponse(False)
    try:
        connection = self.connect()
        cur = connection.cursor()
        cur.execute("SELECT 1")
        response.success = True
    except Exception as e:
        log.logger.error(f'Error connecting to Trino {self.connection_data["schema"]}, {e}!')
        response.error_message = str(e)
    if response.success is False and self.is_connected is True:
        self.is_connected = False
    return response