public boolean isInstalled() {
    return mTrigger != null;
  }
@Test
  public void testIntentNotInstalledWhenNoActivities() {
    Assert.assertFalse(IntentApiTrigger.isInstalled(mMockInputMethodService));
  }