public boolean isInstalled() {
    return mTrigger != null;
  }
@Test
  public void testImeInstalledWhenMixedVoice() {
    addInputMethodInfo(List.of("keyboard", "keyboard", "handwriting"));
    addInputMethodInfo(List.of("handwriting"));
    addInputMethodInfo(List.of("handwriting", "keyboard", "voice", "keyboard", "keyboard"));

    Assert.assertTrue(ImeTrigger.isInstalled(mMockInputMethodService));
  }