class_docstr: A class for handling connections and interactions with the OpenBB Platform.
  
  Attributes:
      PAT (str): OpenBB's personal access token. Sign up here: https://my.openbb.co
      is_connected (bool): Whether or not the user is connected to their OpenBB account.
docstr: Checks connection to OpenBB accounting by checking the validity of the PAT.
  
  Returns StatusResponse indicating whether or not the handler is connected.
docstr_tok: ["Checks","connection","to","OpenBB","accounting","by","checking","the","validity","of","the","PAT",".","Returns","StatusResponse","indicating","whether","or","not","the","handler","is","connected","."]
code: def check_connection(self) -> StatusResponse:
      """Checks connection to OpenBB accounting by checking the validity of the PAT.
  
      Returns StatusResponse indicating whether or not the handler is connected.
      """
  
      response = StatusResponse(False)
  
      try:
          if self.connect():
              response.success = True
  
      except Exception as e:
          logger.error(f"Error connecting to OpenBB Platform: {e}!")
          response.error_message = e
  
      self.is_connected = response.success
      return response
  
file_path: mindsdb/mindsdb/integrations/handlers/openbb_handler/openbb_handler.py
imports: from functools import reduce
  from openbb_core.app.static.app_factory import create_app
  from mindsdb.integrations.handlers.openbb_handler.openbb_tables import create_table_class
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.utilities import log
label_desc: Use image node_id 3 for calling the OpenBBHandler obj's underlying member method code with example usage: obj.check_connection() and returns: response