'Check if ethernet device exists.'

def _device_exists(self, device):

    try:
        host_network.ip_link_get_dev(self._session, device)
        return True
    except Exception:
        return False
