code: def test_has_arg():
      assert matching.has_arg(
          ast_call("MXNet(framework_version=mxnet_version)"),
          "framework_version",
      )
      assert not matching.has_arg(
          ast_call("MXNet()"), "framework_version"
      )
  
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 6 for calling a global function with example usage: test_has_arg() without return types