public boolean hasMultipleAlphabets() {
    return getEnabledIds().size() > 1;
  }
@Test
  public void hasMultipleAlphabets() throws Exception {
    Assert.assertFalse(mKeyboardFactory.hasMultipleAlphabets());

    AddOnTestUtils.ensureAddOnAtIndexEnabled(mKeyboardFactory, 1, true);
    Assert.assertTrue(mKeyboardFactory.hasMultipleAlphabets());

    AddOnTestUtils.ensureAddOnAtIndexEnabled(mKeyboardFactory, 0, false);
    Assert.assertFalse(mKeyboardFactory.hasMultipleAlphabets());
  }