private static boolean isCheckAccountKeyValueSupported(PinInfo account) {
    // "Check code" action should only be visible for HOTP accounts.
    return account.isHotp();
  }
Checks whether displaying a secret key check code is supported for the specified account.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java