code: def test_disable_sm_metrics_if_fw_ver_is_less_than_1_15(
      sagemaker_session,
      tensorflow_training_version,
      tensorflow_training_py_version,
  ):
      if version.Version(tensorflow_training_version) > version.Version(
          "1.14"
      ):
          pytest.skip("This test is for TF 1.14 and lower.")
  
      tf = _build_tf(
          sagemaker_session,
          framework_version=tensorflow_training_version,
          py_version=tensorflow_training_py_version,
          image_uri="old-image",
      )
      assert tf.enable_sagemaker_metrics is None
  
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 11 for calling a global function with example usage: test_disable_sm_metrics_if_fw_ver_is_less_than_1_15(sagemaker_session, tensorflow_training_version, tensorflow_training_py_version) without return types