code: def check_removes(self, key: Tuple[str]) -> "MockCallback":
      assert self.summary_record is not None
  
      for item in self.summary_record.remove:
          if item.key == key:
              return self
  
      raise AssertionError
  
file_path: wandb/tests/pytest_tests/unit_tests/test_wandb_summary.py
imports: from typing import TYPE_CHECKING, Any, Dict, Tuple
  from wandb import wandb_sdk
label_desc: Use image node_id 6 for calling the MockCallback obj's underlying member method code with example usage: obj.check_removes(key) and returns: self