code: function strToBool(input, defaultValue = false) {
    const value = String(input)
      .trim()
      .toLowerCase()
    if (['1', 'true', 'on', 'yes'].includes(value)) return true
    if (['0', 'false', 'off', 'no'].includes(value)) return false
    return defaultValue
  }
docs: Check if a string looks like a positive "word"
  Accepts as true: true, 'true', 1, '1', 'on', and 'yes' (case-insensitive)
  @param {string} input
  @param {boolean} defaultValue
  @return {boolean}