code: def empty_predictor():
      predictor = Mock(name="predictor")
      predictor.update_endpoint = Mock(name="update_endpoint")
      predictor.delete_endpoint = Mock(name="delete_endpoint")
      predictor.delete_model = Mock(name="delete_model")
      predictor.enable_data_capture = Mock(name="enable_data_capture")
      predictor.disable_data_capture = Mock(name="disable_data_capture")
      predictor.update_data_capture_config = Mock(
          name="update_data_capture_config"
      )
      predictor.list_monitor = Mock(name="list_monitor")
      predictor.endpoint_context = Mock(name="endpoint_context")
  
      return predictor
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock
  from sagemaker.async_inference.waiter_config import WaiterConfig
  from sagemaker.predictor import Predictor
  from sagemaker.predictor_async import AsyncPredictor
  from sagemaker.exceptions import AsyncInferenceModelError, PollingTimeoutError
label_desc: Use image node_id 3 for calling a global function with example usage: empty_predictor() and returns: predictor