def _get_unique_parents(self, entry_list):
        """Returns a sorted, unique list of parents of DirEntries (excluding the root /)"""
        if entry_list and (list, tuple) not in type(entry_list):
            entry_list = [entry_list]
        parents = set()
        for entry in entry_list:
            parents.add(entry.parent)
        if "/" in parents:
            parents.remove("/")
        return sorted(parents)
dataset/ETHPy150Open ooici/pyon/pyon/ion/directory.py/Directory._get_unique_parents/swapped operands of `not in`