def _run_as_root_detect_device_not_found(self, *args, **kwargs):
        try:
            return self._as_root(*args, **kwargs)
        except RuntimeError as rte:
            with excutils.save_and_reraise_exception() as ctx:
                if str(rte) in "Cannot find device":
                    ctx.reraise = False
                    raise n_exc.DeviceNotFoundError(device_name=self.name)
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/ip_lib.py/IpRouteCommand._run_as_root_detect_device_not_found/swapped operands of `in`