def list_helper(self, data):
        result = data.permissions.all()
        self.assertIsInstance(result, sdk.resources.AnnotatedList)
        owner_exists = False
        for perm in result:
            self.assertIsInstance(perm, sdk.resources.Permission)
            if readonly_permissions not in self.account.service:
                if perm.role == "owner":
                    owner_exists = True
                else:
                    self.assertIn(perm.email, self.new_roles)
                    self.assertEqual(perm.role, self.new_roles.get(perm.email))
                self.assertTrue(owner_exists)

    # Folder List
dataset/ETHPy150Open Kloudless/kloudless-python/tests/integration/test_cases/test_permissions.py/Permissions.list_helper/swapped operands of `not in`