code: def load_config(config_file):
      """Load config file"""
      with open(config_file) as f:
          # remove comments
          lines = f.readlines()
          lines = filter(lambda x: not x.strip().startswith("#"), lines)
          lines = "\n".join(lines)
  
          if hasattr(yaml, "FullLoader"):
              config = yaml.load(lines, Loader=yaml.FullLoader)
          else:
              config = yaml.load(lines)
      return config
  
imports: import sys
  import datetime
  import os
  import yaml
  import random
  import shutil
  import six
  import warnings
  import glob
label_desc: Use image node_id 4 for calling a global function with example usage: load_config(config_file) and returns: config