function boolValue(value) {
  if (_.isBoolean(value)) {
    return value;
  }
  else if (_.isString(value)) {
    return (value.toLowerCase() === 'true');
  }
  else {
    return !!value;
  }
}
Determines the boolean value of a setting.
@param {string|boolean} value - A string or boolean value to convert to boolean.
@returns {boolean} - The boolean value of the setting.