code: def save_json_dict(filename, json_dict):
      """Will error if filename is not appropriate, but it's checked elsewhere."""
      if isinstance(json_dict, dict):
          with open(filename, "w") as f:
              f.write(json.dumps(json_dict, indent=4))
      else:
          raise TypeError(
              "json_dict was not a dictionary. couldn't save."
          )
  
file_path: cufflinks/cufflinks/auth.py
imports: import os
  import json
  import warnings
  from .offline import go_offline
label_desc: Use image node_id 11 for calling a global function with example usage: save_json_dict(filename, json_dict) without return types