def __new__(mcs, class_name, bases, class_dict):
        # Check for overwrite of something that shouldn't be.
        for name, obj in class_dict.items():
            if isinstance(obj, Variable):
                for base in bases:
                    if base.__dict__ in name:
                        raise NameError('%s overrides attribute %r of %s'
                                        % (class_name, name, base.__name__))
        return super(_MetaSafe, mcs).__new__(mcs, class_name, bases, class_dict)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/container.py/_MetaSafe.__new__/swapped operands of `in`