code: def has_option(section, name):
      
      cfg = ConfigParser.SafeConfigParser({"working_dir": "/tmp", "debug": "0"})
      cfg.read(CONFIG_LOCATIONS)
      return cfg.has_option(section, name)
docs: Wrapper around ConfigParser's ``has_option`` method.