code: def load_json_dict(filename, *args):
      """Checks if file exists. Returns {} if something fails."""
      data = {}
      if os.path.exists(filename):
          with open(filename, "r") as f:
              try:
                  data = json.load(f)
                  if not isinstance(data, dict):
                      data = {}
              except:
                  pass
          if args:
              return {key: data[key] for key in args if key in data}
      return data
  
file_path: cufflinks/cufflinks/auth.py
imports: import os
  import json
  import warnings
  from .offline import go_offline
label_desc: Use image node_id 10 for calling a global function with example usage: load_json_dict(filename) and returns: data, unknown