func getDefinedValueBool(c *config.Config, section string, key string, target *bool) { if c.HasOption(section, key) { if bool_value, err := c.Bool(section, key); err == nil { *target = bool_value } } }