code: def same_type(self, x, y):
      if x is None or y is None:
          return True
  
      type_x = self.typemap.get(type(x), type(x))
      type_y = self.typemap.get(type(y), type(y))
  
      return type_x == type_y
  
imports: import json
  import sys
  from dataclasses import dataclass
  import gradio
  from modules import errors
  from modules.shared_cmd_options import cmd_opts
label_desc: Use image node_id 7 for calling the Options obj's underlying member method code with example usage: obj.same_type(x, y) and returns: unknown, True