private boolean composedTextExists() {
    MyInputMethodHandler handler = getMyInputMethodHandler();
    return handler != null && handler.isComposedTextShown();
  }
private boolean composedTextExists()