def _heuristic_skip_inspection(self, mode):
        """Decide heuristically whether to run an inspection or not."""
        # At the moment, a simple heuristic is used. If tiling is not requested,
        # then inspection and fusion are always performed. If tiling is on the other
        # hand requested, then fusion is performed only if inspection is requested
        # more than once. This is to amortize the cost of inspection due to tiling.
        if mode == 'tile' and self._inspected < 2:
            return True
        return False
dataset/ETHPy150Open OP2/PyOP2/pyop2/fusion.py/Inspector._heuristic_skip_inspection/original