@yuyichao 
I think fcitx's boolean definition is good most of the time. We dont need undef.