code: def check_ids(self, a, b, should_match):
      comp = self.assertEqual if should_match else self.assertNotEqual
      comp(id(a), id(b))
  
imports: from __future__ import annotations
  import random
  import string
  import unittest
  from copy import deepcopy
  import numpy
  import torch
  from parameterized import parameterized
  from monai import config
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms import FromMetaTensord, ToMetaTensord
  from monai.utils.enums import PostFix
  from tests.utils import TEST_DEVICES, assert_allclose
label_desc: Use image node_id 2 for calling the TestToFromMetaTensord obj's underlying member method code with example usage: obj.check_ids(a, b, should_match) without return types