code: def removed_arg(name, arg):
      """Checks if the deprecated argument is populated.
  
      Raises warning, if not None.
  
      Args:
          name: name of deprecated argument
          arg: the argument to check
      """
      if arg is not None:
          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 8 for calling a global function with example usage: removed_arg(name, arg) without return types