def contains(self, task_id, node_id=None, result=None):
        try:
            if result is None and node_id is None:
                return task_id in self._d
            elif result is None:
                return node_id in self._d[task_id]
            else:
                return result in self._d[task_id][node_id]
        except __HOLE__:
            return False
dataset/ETHPy150Open BasicWolf/kaylee/kaylee/contrib/storages.py/MemoryTemporalStorage.contains