code: def _check_user_parameters(self, user_parameters):
          
          if not user_parameters:
              return
  
          # sanity check against typos
          for key in user_parameters:
              if key not in submission_defaults:
                  raise ValueError("Unknown parameter {0}".format(key))
docs: Verifies that the parameter dict given by the user only contains
          known keys. This ensures that the user detects typos faster.