class_docstr: Client to interact with the Frappe API.
  
  Attributes:
      domain (str): Path to Frappe domain to use (e.g. https://mindsdbfrappe.com).
      access_token (str): Frappe authorization token to use for all API requests.
docstr: Sends a basic request to the Frappe API to see if it succeeds.
  
  Returns whether or not the connection to the Frappe API is valid.
  See https://frappeframework.com/docs/v14/user/en/api/rest#1-token-based-authentication
docstr_tok: ["Sends","a","basic","request","to","the","Frappe","API","to","see","if","it","succeeds",".","Returns","whether","or","not","the","connection","to","the","Frappe","API","is","valid",".","See","https",":","\/\/frappeframework.com\/docs\/v14\/user\/en\/api\/rest","#","1-token-based-authentication"]
code: def ping(self) -> bool:
      """Sends a basic request to the Frappe API to see if it succeeds.
  
      Returns whether or not the connection to the Frappe API is valid.
      See https://frappeframework.com/docs/v14/user/en/api/rest#1-token-based-authentication
      """
  
      # No ping or similar endpoint exists, so we'll try getting the logged in user.
      user_response = requests.get(
          f"{self.base_url}/method/frappe.auth.get_logged_user",
          headers=self.headers,
      )
      return user_response.ok
  
file_path: mindsdb/mindsdb/integrations/handlers/frappe_handler/frappe_client.py
imports: import json
  import requests
  from typing import Dict, List
label_desc: Use image node_id 5 for calling the FrappeClient obj's underlying member method code with example usage: obj.ping() and returns: user_response