def cache_scan(self):
        try:
            return len(self.transformations) - self.transformations[::-1].index(CACHE_T)
        except __HOLE__:
            return 0
dataset/ETHPy150Open EntilZha/PyFunctional/functional/lineage.py/Lineage.cache_scan