def is_legal_path(self, path):
        for p in path:
            if p in ['.', '..'] or p in '/':
                return False
        return True
dataset/ETHPy150Open JohnDoee/autotorrent/autotorrent/at.py/AutoTorrent.is_legal_path/swapped operands of `in`