code: def removed_kwargs(name, kwargs):
      """Checks if the deprecated argument is in kwargs
  
      Raises warning, if present.
  
      Args:
          name: name of deprecated argument
          kwargs: keyword arguments dict
      """
      if name in kwargs:
          removed_warning(name)
  
file_path: sagemaker-python-sdk/src/sagemaker/deprecations.py
imports: from __future__ import absolute_import
  import logging
  import warnings
label_desc: Use image node_id 9 for calling a global function with example usage: removed_kwargs(name, kwargs) without return types