def requireParams(self, required, provided):
        if isinstance(required, six.string_types):
            required = (required,)

        for param in required:
            if param not in provided:
                raise RestException("Parameter '%s' is required." % param)
Throws an exception if any of the parameters in the required iterable
dataset/ETHPy150Open girder/girder/girder/api/rest.py/Resource.requireParams