code: def test_lambdad_identity(self):
      for p in TEST_NDARRAYS:
          img = p(self.imt)
          data = {"img": img, "prop": 1.0, "label": 1.0}
  
          def noise_func(x):
              return x + 1.0
  
          expected = {
              "img": noise_func(data["img"]),
              "prop": 1.0,
              "new_label": 2.0,
          }
          ret = Lambdad(
              keys=["img", "prop", "label"],
              func=noise_func,
              overwrite=[True, False, "new_label"],
          )(data)
          assert_allclose(expected["img"], ret["img"], type_test=False)
          assert_allclose(
              expected["prop"], ret["prop"], type_test=False
          )
          assert_allclose(
              expected["new_label"], ret["new_label"], type_test=False
          )
  
file_path: MONAI/tests/test_lambdad.py
imports: from __future__ import annotations
  import unittest
  from numpy import ndarray
  from torch import Tensor
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms.utility.dictionary import Lambdad
  from monai.utils.type_conversion import convert_to_numpy, convert_to_tensor
  from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, assert_allclose
label_desc: Use image node_id 1 for calling the TestLambdad obj's underlying member method code with example usage: obj.test_lambdad_identity() and returns: unknown