code: def test_contains(self):
      empty_parser = ConfigParser({})
      empty_parser.parse()
  
      parser = ConfigParser(
          {"value": 1, "entry": "string content", "array": [1, 2]}
      )
      parser.parse()
  
      with self.subTest("Testing empty parser"):
          self.assertFalse("something" in empty_parser)
      with self.assertRaises(KeyError):
          empty_parser["something"]
      empty_parser["osmething"] = "test"
      with self.assertRaises(KeyError):
          empty_parser["something"]
  
      with self.subTest("Testing with keys"):
          self.assertTrue("value" in parser)
          self.assertFalse("value1" in parser)
          self.assertTrue("entry" in parser)
          self.assertFalse("entr" in parser)
          self.assertFalse("array#2" in parser)
  
imports: from __future__ import annotations
  import os
  import tempfile
  import unittest
  import warnings
  from pathlib import Path
  from unittest import mock, skipUnless
  import numpy
  from parameterized import parameterized
  from monai.bundle import ConfigParser, ReferenceResolver
  from monai.bundle.config_item import ConfigItem
  from monai.data import DataLoader, Dataset
  from monai.transforms import Compose, LoadImaged, RandTorchVisiond
  from monai.utils import min_version, optional_import
  from tests.utils import TimedCall
label_desc: Use image node_id 8 for calling the TestConfigParser obj's underlying member method code with example usage: obj.test_contains() without return types