code: private boolean isValid()
      {
          StringBuilder builder = new StringBuilder();
          for (Match match : matches)
          {
              builder.append(match.getToken());
          }
  
          return password.equals(builder.toString());
      }
docs: Checks if the sum of the matches equals the original password.
  
  @return {@code true} if valid; {@code false} if invalid.