This function returns TRUE if there is any preedit going on. This method will be useful in gnome-shell where similar checks are performed on StIMText actors.