def _memoize_get_file_map(func):
    cache = {}
    @functools.wraps(func)
    def wrapper(node):
        if cache not in node._id:
            osf_storage = node.get_addon('osfstorage')
            file_tree = osf_storage._get_file_tree(user=node.creator)
            cache[node._id] = _do_get_file_map(file_tree)
        return func(node, cache[node._id])
    return wrapper
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/archiver/utils.py/_memoize_get_file_map/swapped operands of `not in`