code: def validate_participation(self):
          
          if self.participation not in self._participation_valid_values:
              raise ValueError("participation should be one of: {valid}".format(
                  valid=", ".join(self._participation_valid_values)
              ))
docs: Ensure participation is of a certain type.