class_docstr: DJL build logic for ModelBuilder()
class_docstr_tok: ["DJL","build","logic","for","ModelBuilder","(",")"]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _is_jumpstart_model_id(self) -> bool:
      """Placeholder docstring"""
      try:
          model_uris.retrieve(
              model_id=self.model,
              model_version="*",
              model_scope=_JS_SCOPE,
          )
      except KeyError:
          logger.warning(_NO_JS_MODEL_EX)
          return False
  
      logger.info("JumpStart Model ID detected.")
      return True
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from typing import Type
  import logging
  from sagemaker.model import Model
  from sagemaker import model_uris
  from sagemaker.serve.model_server.djl_serving.prepare import prepare_djl_js_resources
  from sagemaker.serve.model_server.tgi.prepare import prepare_tgi_js_resources, _create_dir_structure
  from sagemaker.serve.mode.function_pointers import Mode
  from sagemaker.serve.utils.predictors import DjlLocalModePredictor, TgiLocalModePredictor
  from sagemaker.serve.utils.local_hardware import _get_nb_instance, _get_ram_usage_mb
  from sagemaker.serve.utils.telemetry_logger import _capture_telemetry
  from sagemaker.serve.utils.types import ModelServer
  from sagemaker.base_predictor import PredictorBase
  from sagemaker.jumpstart.model import JumpStartModel
label_desc: Use image node_id 4 for calling the JumpStart obj's underlying member method code with example usage: obj._is_jumpstart_model_id() and returns: True, False