code: def value(self, raw_value):
          
          if raw_value in self._FALSE_VALUES:
              return False
          elif raw_value in self._TRUE_VALUES:
              return True
          else:
              raise ValueError(
                  "Could not parse '{}' value as boolean".format(raw_value)
              )
docs: Decode param as bool value.