code: private boolean isBondTypeMatch(IBond targetBond) {
          int reactantBondType = queryBond.getOrder().numeric();
          int productBondType = targetBond.getOrder().numeric();
          if ((queryBond.getFlag(CDKConstants.ISAROMATIC) == targetBond.getFlag(CDKConstants.ISAROMATIC))
                  && (reactantBondType == productBondType)) {
              return true;
          } else if (queryBond.getFlag(CDKConstants.ISAROMATIC) && targetBond.getFlag(CDKConstants.ISAROMATIC)) {
              return true;
          }
          return false;
      }
docs: Return true if a bond is matched between query and target
  @param targetBond
  @return