code: def test_rand_lambdad_identity(self, t):
      img = t(np.zeros((10, 10)))
      data = {"img": img, "prop": 1.0}
  
      test_func = RandTest()
      test_func.set_random_state(seed=134)
      expected = {"img": test_func(data["img"]), "prop": 1.0}
      test_func.set_random_state(seed=134)
  
      # default prob
      tr = RandLambdad(
          keys=["img", "prop"], func=test_func, overwrite=[True, False]
      )
      ret = tr(deepcopy(data))
      self.check(tr, data, ret, expected)
  
      tr = RandLambdad(keys=["img", "prop"], func=test_func, prob=0.0)
      ret = tr(deepcopy(data))
      self.check(tr, data, ret, expected=data)
  
      trans = RandLambdad(
          keys=["img", "prop"], func=test_func, prob=0.5
      )
      trans.set_random_state(seed=123)
      ret = trans(deepcopy(data))
      self.check(trans, data, ret, expected=data)
  
file_path: MONAI/tests/test_rand_lambdad.py
imports: from __future__ import annotations
  import unittest
  from copy import deepcopy
  import numpy
  from parameterized import parameterized
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms.transform import Randomizable
  from monai.transforms.utility.dictionary import RandLambdad
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 2 for calling the TestRandLambdad obj's underlying member method code with example usage: obj.test_rand_lambdad_identity(t) without return types