code: def get_apply_param(
      init_param=None, call_param=None, params=apply_transforms_kwargs
  ):
      apply_param = {}
      for key in apply_transforms_kwargs:
          if init_param and key in init_param.keys():
              apply_param[key] = init_param[key]
          if call_param and key in call_param.keys():
              apply_param[key] = call_param[key]
      return apply_param
  
file_path: MONAI/tests/lazy_transforms_utils.py
imports: from __future__ import annotations
  from copy import deepcopy
  from monai.data import MetaTensor, set_track_meta
  from monai.transforms import InvertibleTransform, MapTransform, Randomizable
  from monai.transforms.lazy.functional import apply_pending
  from tests.utils import assert_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: get_apply_param(init_param, call_param, params) and returns: apply_param