

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

dataset/ETHPy150Open chop-dbhi/serrano/serrano/resources/category.py CategoryBase.is_not_found/VarMisuse@24/27 `self`->`pk`