/** @return Whether or not there is an account authenticator for Google accounts. */
 public boolean hasGoogleAccountAuthenticator() {
   AuthenticatorDescription[] descs = mAccountManager.getAuthenticatorTypes();
   for (AuthenticatorDescription desc : descs) {
     if (GOOGLE_ACCOUNT_TYPE.equals(desc.type)) return true;
   }
   return false;
 }