def get_selected_packages(self):
        """Return selected packages"""
        return [pack for pack in self.model.packages
                if self.model.checked in pack]
dataset/ETHPy150Open winpython/winpython/winpython/controlpanel.py/PackagesTable.get_selected_packages/swapped operands of `in`