code: def is_device_virtual(self):
          
          for ip in self.obj_dict:
              drvr_obj = self.obj_dict.get(ip).get('drvr_obj')
              ret = drvr_obj.is_device_virtual()
              # No way to pin a device as of now, so return the first
              # TODO(padkrish)
              return ret
docs: Returns if the device is physical or virtual.