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