code: def maybe_init_config_file():
      """Initialize Avalanche user's config file, if it does not exists yet.
  
      The file is located in `~/.avalanche/config.json`
      """
      if os.path.exists(AVALANCHE_CONFIG_FILENAME):
          return
      os.makedirs(AVALANCHE_CONFIG_ROOT, exist_ok=True)
      default_config = {
          "dataset_location": os.path.expanduser("~/.avalanche/data")
      }
  
      with open(AVALANCHE_CONFIG_FILENAME, "w") as f:
          json.dump(default_config, f, indent=4)
  
imports: from pathlib import Path
  import json
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: maybe_init_config_file() without return types