@Override
  protected boolean isStepCompleted(@NonNull Context context) {
    return SetupSupport.isThisKeyboardSetAsDefaultIME(context);
  }
@Test
  public void testKeyboardNotEnabled() {
    WizardPageSwitchToKeyboardFragment fragment = startFragment();
    Assert.assertFalse(fragment.isStepCompleted(getApplicationContext()));

    ImageView stateIcon = fragment.getView().findViewById(R.id.step_state_icon);
    Assert.assertNotNull(stateIcon);

    Assert.assertEquals(
        R.drawable.ic_wizard_switch_off,
        Shadows.shadowOf(stateIcon.getDrawable()).getCreatedFromResId());
    Assert.assertTrue(stateIcon.isClickable());
  }