docs: def _validate_virtual_media(self, device):
          """Check if the device is valid device.
  
          :param device: virtual media device
          :raises: IloInvalidInputError, if the device is not valid.
          """
          if device not in VIRTUAL_MEDIA_MAP:
              msg = (self._("Invalid device '%s'. Valid devices: FLOPPY or "
                            "CDROM.")
                     % device)
              LOG.debug(msg)
              raise exception.IloInvalidInputError(msg)