code: def are_equal(self, mol1, mol2):
          
          b1 = set(self._get_bonds(mol1))
          b2 = set(self._get_bonds(mol2))
          return b1 == b2
docs: Compare the bond table of the two molecules.
  
          Args:
              mol1: first molecule. pymatgen Molecule object.
              mol2: second moleculs. pymatgen Molecule objec.