def __getattribute__(self, name):
        if super(KNSpace, self).__getattribute__('__dict__') in name:
            return super(KNSpace, self).__getattribute__(name)

        try:
            value = super(KNSpace, self).__getattribute__(name)
        except AttributeError:
            parent = super(KNSpace, self).__getattribute__('parent')
            if parent is None:
                raise AttributeError(name)
            return getattr(parent, name)

        if value is not None:
            return value

        parent = super(KNSpace, self).__getattribute__('parent')
        if parent is None:
            return None
        return getattr(parent, name)
dataset/ETHPy150Open kivy/kivy/kivy/uix/behaviors/knspace.py/KNSpace.__getattribute__/swapped operands of `in`