func (config *Config) BooleanFromSection(sectionName string, key string, def bool) bool {
	section := config.sectionForName(sectionName)

	if section != nil {
		return getBoolean(section.values, key, def)
	}

	return def
}
func (config *Config) BooleanFromSection(sectionName string, key string, def bool) bool {
	section := config.sectionForName(sectionName)

	if section != nil {
		return getBoolean(section.values, key, def)
	}

	return def
}
/*
BooleanFromSection looks for the specified key and returns it as a boolean. If not found the default value def is returned.

If the section name matches the config.name or "" the global data is searched.
*/