code: def parse_variables(config):
      if not config.has_section("variables"):
          raise FormatError("No variables section found !")
  
      d = {}
  
      for name, value in config.items("variables"):
          d[name] = value
  
      return VariableSet(d)
  
imports: import sys
  import re
  import os
  from configparser import RawConfigParser
label_desc: Use image node_id 4 for calling a global function with example usage: parse_variables(config) and returns: VariableSet