def __contains__(self, case):
        if not isinstance(case, Case):
            return False
        try:
            values = [case[n] for n in self._names]
        except __HOLE__:
            return False
        for val in self._values:
            if val == values:
                return True
        return False
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/caseset.py/CaseArray.__contains__