code: private static boolean compareTitles(String primaryTitle, String firstCompareTitle, String secondCompareTitle, int maxDistance) {
          // Compare with the first title
          if (compareDistance(primaryTitle, firstCompareTitle, maxDistance)) {
              return true;
          }
  
          // Compare with the other title
          return compareDistance(primaryTitle, secondCompareTitle, maxDistance);
      }
docs: Compare a title with two other titles.
  
  @param primaryTitle Primary title
  @param firstCompareTitle First title to compare with
  @param secondCompareTitle Second title to compare with
  @param maxDistance Maximum difference between the titles
  @return