The ImmIsIME function checks whether the specified handle identifies an IME.
BOOL ImmIsIME(
HKL hKL
);
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.