added hasAlternateAccounts() into the alternate account api