def _cleanup_cache_files(self):
        """
        Deletes any cache files that exist in the cache directory which were
        not used when this analysis was last run.
        """
        for path in glob(os.path.join(self._cache_dir, '*.cache')):
            if self._registered_cache_paths not in path:
                os.remove(path)
dataset/ETHPy150Open wireservice/proof/proof/analysis.py/Analysis._cleanup_cache_files/swapped operands of `not in`