def exists(self):
        """Return True if the device exists in the namespace."""
        # we must save and restore this before returning
        orig_log_fail_as_error = self.get_log_fail_as_error()
        self.set_log_fail_as_error(False)
        try:
            return bool(self.link.address)
        except __HOLE__:
            return False
        finally:
            self.set_log_fail_as_error(orig_log_fail_as_error)
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/ip_lib.py/IPDevice.exists