code: def smclient(sagemaker_session):
      return sagemaker_session.boto_session.client("sagemaker")
  
imports: from __future__ import absolute_import
  import os
  import re
  import time
  import pytest
  from tests.integ.sagemaker.workflow.helpers import wait_pipeline_execution
  from sagemaker.processing import ProcessingInput
  from sagemaker.session import get_execution_role
  from sagemaker.sklearn.processing import SKLearnProcessor
  from sagemaker.dataset_definition.inputs import DatasetDefinition, AthenaDatasetDefinition
  from sagemaker.workflow.model_step import ModelStep, _REGISTER_MODEL_NAME_BASE, _CREATE_MODEL_NAME_BASE
  from sagemaker.workflow.parameters import ParameterInteger
  from sagemaker.pytorch.estimator import PyTorch
  from sagemaker.workflow.pipeline import Pipeline
  from sagemaker.workflow.retry import StepRetryPolicy, StepExceptionTypeEnum, SageMakerJobStepRetryPolicy, SageMakerJobExceptionTypeEnum
  from sagemaker.inputs import TrainingInput
  from sagemaker.workflow.steps import ProcessingStep, TrainingStep
  from sagemaker.workflow.condition_step import ConditionStep
  from sagemaker.workflow.conditions import ConditionGreaterThanOrEqualTo
  from sagemaker.model import Model
  from tests.integ import DATA_DIR
label_desc: Use image node_id 5 for calling a global function with example usage: smclient(sagemaker_session) and returns: sagemaker_session