class_docstr: A class for handling connections and interactions with the CoinBase API.
  
  Attributes:
      api_key (str): API key
      api_secret (str): API secret
      is_connected (bool): Whether or not the API client is connected to CoinBase.
docstr: Checks connection to CoinBase API by sending a ping request.
  
  Returns StatusResponse indicating whether or not the handler is connected.
docstr_tok: ["Checks","connection","to","CoinBase","API","by","sending","a","ping","request",".","Returns","StatusResponse","indicating","whether","or","not","the","handler","is","connected","."]
code: def check_connection(self) -> StatusResponse:
      """Checks connection to CoinBase API by sending a ping request.
  
      Returns StatusResponse indicating whether or not the handler is connected.
      """
      response = StatusResponse(True)
      self.is_connected = response.success
      return response
  
imports: import pandas
  from typing import Dict
  import datetime
  import hmac
  import hashlib
  import time
  import requests
  from collections import OrderedDict
  import base64
  from mindsdb.integrations.handlers.coinbase_handler.coinbase_tables import CoinBaseAggregatedTradesTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 3 for calling the CoinBaseHandler obj's underlying member method code with example usage: obj.check_connection() and returns: response