code: def check_azure_authed() -> bool:
      try:
          azure_service_principal()
          return True
      except AzureException as e:
          print(e)
  
      return False
  
file_path: PySyft/packages/hagrid/hagrid/azure.py
imports: import json
  import os
  import subprocess
  from typing import Dict
  from typing import Optional
  from azure.identity import ClientSecretCredential
  from azure.mgmt.resource import ResourceManagementClient
  from .file import user_hagrid_profile
label_desc: Use image node_id 1 for calling a global function with example usage: check_azure_authed() and returns: False, True