code: def check_ssl_config(ssl_config: Dict[str, str]):
      for key in ("cert", "key", "outgoing_trust", "incoming_trust"):
          assert ssl_config.get(key) is not None, key
      for key in ("cert", "key", "outgoing_trust", "incoming_trust"):
          if not os.path.isfile(ssl_config[key]):
              raise ValueError(
                  f"specified {key}, {ssl_config[key]} does not exist"
              )
      log.info("using tls and verifying client and server certificates")
  
file_path: hail/hail/python/hailtop/tls.py
imports: from typing import Dict
  import logging
  import json
  import os
  import ssl
  from ssl import Purpose
label_desc: Use image node_id 2 for calling a global function with example usage: check_ssl_config(ssl_config) without return types