code: def is_true(key, default=False):
      
      value = get(key, default)
      if isinstance(value, list):
          value = value[0]
      if isinstance(value, bool):
          return value
      if value is default:
          return default
      return value.lower() in TRUE_VALUES
docs: Check if the value is in TRUE_VALUES