code: def test_matches_namespace():
      assert matching.matches_namespace(
          ast_call("sagemaker.mxnet.MXNet()"), "sagemaker.mxnet"
      )
      assert not matching.matches_namespace(
          ast_call("sagemaker.KMeans()"), "sagemaker.mxnet"
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/cli/compatibility/v2/modifiers/test_matching.py
imports: from __future__ import absolute_import
  from sagemaker.cli.compatibility.v2.modifiers import matching
  from tests.unit.sagemaker.cli.compatibility.v2.modifiers.ast_converter import ast_call
label_desc: Use image node_id 5 for calling a global function with example usage: test_matches_namespace() without return types