public boolean addWillOverwriteExistingSeedFor(AccountIndex index) {
    if ((index.getIssuer() == null) && !index.getName().equals(GOOGLE_CORP_ACCOUNT_NAME)) {
      return false;
    }
    return findSimilarExistingIndex(index) != null;
  }
Indicates whether an existing {@code secret} would be overwritten if the account described by
the specified {@link AccountIndex} were to be added via
{@link #add(String, String, OtpType, Integer, Boolean, String)}. Similar (but not identical)
indexes may sometimes be overwritten, so the check is not trivial.
<p>
Note that we never overwrite seeds for accounts with a {@code null} issuer since we will
will rename them instead, UNLESS it is a Google Internal 2Factor account.

@see #findSimilarExistingIndex(AccountIndex)
@return whether an existing record in the database would be overwritten if {@code index} were
  to be used in an {@link #add(String, String, OtpType, Integer, Boolean, String)} operation
java/com/google/android/apps/authenticator/otp/AccountDb.java