code: def compare(self, vertex0, vertex1, subject_graph):
          
          return (
              self.pattern_graph.vertex_fingerprints[vertex0] ==
              subject_graph.vertex_fingerprints[vertex1]
          ).all()
docs: Returns true when the two vertices are of the same kind