class_docstr: The Shopify handler implementation.
class_docstr_tok: ["The","Shopify","handler","implementation","."]
docstr: Check connection to the handler.
  Returns:
      HandlerStatusResponse
docstr_tok: ["Check","connection","to","the","handler",".","Returns",":","HandlerStatusResponse"]
code: def check_connection(self) -> StatusResponse:
      """
      Check connection to the handler.
      Returns:
          HandlerStatusResponse
      """
  
      response = StatusResponse(False)
  
      try:
          api_session = self.connect()
          shopify.ShopifyResource.activate_session(api_session)
          shopify.Shop.current()
          response.success = True
      except Exception as e:
          logger.error(f"Error connecting to Shopify!")
          raise ConnectionFailed(f"Conenction to Shopify failed.")
          response.error_message = str(e)
  
      if (
          self.yotpo_app_key is not None
          and self.yotpo_access_token is not None
      ):
          url = f"https://api.yotpo.com/v1/apps/{self.yotpo_app_key}/reviews?count=1&utoken={self.yotpo_access_token}"
          headers = {
              "accept": "application/json",
              "Content-Type": "application/json",
          }
          if requests.get(url, headers=headers).status_code == 200:
              response.success = True
          else:
              response.success = False
  
      self.is_connected = response.success
  
      return response
  
file_path: mindsdb/mindsdb/integrations/handlers/shopify_handler/shopify_handler.py
imports: import shopify
  import requests
  from mindsdb.integrations.handlers.shopify_handler.shopify_tables import ProductsTable, CustomersTable, OrdersTable, InventoryLevelTable, LocationTable, CustomerReviews, CarrierServiceTable, ShippingZoneTable, SalesChannelTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
  from mindsdb.integrations.libs.api_handler_exceptions import InvalidNativeQuery, ConnectionFailed, MissingConnectionParams
label_desc: Use image node_id 3 for calling the ShopifyHandler obj's underlying member method code with example usage: obj.check_connection() and returns: response