code: def _create_model(sagemaker_session=None):
      return Model(
          MODEL_IMAGE,
          MODEL_DATA,
          role="role",
          sagemaker_session=sagemaker_session,
      )
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch
  from sagemaker.model import Model
label_desc: Use image node_id 2 for calling a global function with example usage: _create_model(sagemaker_session) and returns: Model