code: def cleanup_exp_resources(exp_names, sagemaker_session):
      try:
          yield
      finally:
          for exp_name in exp_names:
              exp = Experiment.load(
                  experiment_name=exp_name,
                  sagemaker_session=sagemaker_session,
              )
              exp._delete_all(action="--force")
  
imports: from __future__ import absolute_import
  from contextlib import contextmanager
  from sagemaker import utils
  from sagemaker.experiments.experiment import Experiment
label_desc: Use image node_id 4 for calling a global function with example usage: cleanup_exp_resources(exp_names, sagemaker_session) without return types