code: def check_connection(self):
      try:
          self.get_user_profile()
          return True
      except Exception as e:
          logger.error(
              f"Error connecting to the Microsoft Graph API: {e}!"
          )
          return False
  
file_path: mindsdb/mindsdb/integrations/handlers/utilities/api_utilities/microsoft/ms_graph_api_utilities.py
imports: import time
  import requests
  from typing import Optional, Dict, Union, List
  from mindsdb.utilities import log
label_desc: Use image node_id 8 for calling the MSGraphAPIBaseClient obj's underlying member method code with example usage: obj.check_connection() and returns: True, False