Here's an example of branching on whether the name of the active input method contains 'simplified' (as in Pinyin Simplified) or not:
Here's an example of branching on whether the name of the active input method contains 'simplified' (as in Pinyin Simplified) or not: