code: def test_disable_sm_metrics(sagemaker_session):
      tf = _build_tf(
          sagemaker_session,
          framework_version="1.15.2",
          py_version="py3",
          enable_sagemaker_metrics=False,
      )
      assert not tf.enable_sagemaker_metrics
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/tensorflow/test_estimator_init.py
imports: from __future__ import absolute_import
  from mock import Mock, patch
  from packaging import version
  import pytest
  from sagemaker.tensorflow import TensorFlow
label_desc: Use image node_id 10 for calling a global function with example usage: test_disable_sm_metrics(sagemaker_session) without return types