

def check_requirements(self, request=None, response=None):
    'Checks to see if all requirements set pass\n\n           if all requirements pass nothing will be returned\n           otherwise, the error reported will be returned\n        '
    for requirement in self.requires:
        conclusion = requirement(response=response, request=request, module=self.api.module)
        if (conclusion and (conclusion is not True)):
            return conclusion

dataset/ETHPy150Open timothycrosley/hug/hug/interface.py Interface.check_requirements/original