code: def _render(self, diag_ctx):
      self.matches = False
      for diagnostic in diag_ctx.diagnostics:
          message = diagnostic.message
          for partial_msg in self.messages:
              if partial_msg in message:
                  self.matches = True
  
file_path: tvm/tests/python/relay/utils/assert_diagnostic.py
imports: import tvm
  from tvm import IRModule, get_global_func, register_func, relay
  from tvm.error import DiagnosticError
  from tvm.ir.diagnostics import get_renderer, override_renderer
  from tvm.relay import SpanCheck
  from tvm.relay.transform import AnnotateSpans
  from tvm.runtime import Object
label_desc: Use image node_id 5 for calling the DiagnosticTesting obj's underlying member method code with example usage: obj._render(diag_ctx) without return types