

def is_not_found(self, request, response, **kwargs):
    return (self.get_object(request, **kwargs) is None)

dataset/ETHPy150Open chop-dbhi/serrano/serrano/resources/jobs.py JobResource.is_not_found/original