code: def test_model_dir_false(sagemaker_session):
      estimator = TensorFlow(
          entry_point=SCRIPT,
          source_dir=SOURCE_DIR,
          role=ROLE,
          framework_version="2.3.0",
          py_version="py37",
          instance_type="ml.m4.xlarge",
          instance_count=1,
          model_dir=False,
      )
      estimator.hyperparameters()
      assert estimator.model_dir is False
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, ANY
  from sagemaker.tensorflow import TensorFlow
label_desc: Use image node_id 2 for calling a global function with example usage: test_model_dir_false(sagemaker_session) without return types