code: def validate_parameters(self):
          
          for p in self.params:
              if p not in self.known_params:
                  raise errors.UnknownParameter(p, self.known_params)
docs: Validate that the parameters are correctly specified.