code: def _check_device(self, ie, device):
      devices = ie.available_devices
      if device == "GPU" and "GPU.0" in devices:
          # GPU is equivalent to GPU.0
          return True
      invalidInputError(
          device in devices,
          "Your machine don't have {} device (only have {}), please modify "
          "the incoming device value.".format(
              device, ",".join(list(devices))
          ),
      )
  
imports: from pathlib import Path
  from tempfile import TemporaryDirectory
  from typing import List, Union
  from openvino.runtime import Core
  from bigdl.nano.utils.common import invalidInputError, _flatten, invalidOperationError
  from openvino.runtime import Model
  from openvino.runtime import AsyncInferQueue
  import numpy
  from datetime import datetime
  from .utils import save, OpenVINO_LESS_2022_3
label_desc: Use image node_id 7 for calling the OpenVINOModel obj's underlying member method code with example usage: obj._check_device(ie, device) and returns: True