Detect attribute existence by hasattr, not __dict__
Detect attribute existence by hasattr, not __dict__

ShengYenPeng/libchewing,yan12125/libchewing,hiunnhue/libchewing,bbyykk/libtaigi,robert501128/libchewing,chewing/libchewing,bbyykk/libtaigi,Chocobo1/libchewing,cwlin/libchewing,Chocobo1/libchewing,PeterDaveHello/libchewing,cwlin/libchewing,robert501128/libchewing,chewing/libchewing,bbyykk/libtaigi,ShengYenPeng/libchewing,PeterDaveHello/libchewing,PingNote/libchewing,mangokingTW/libchewing,ShengYenPeng/libchewing,yan12125/libchewing,yan12125/libchewing,ShengYenPeng/libchewing,robert501128/libchewing,bbyykk/libtaigi,hiunnhue/libchewing,kito-cheng/libchewing,chewing/libchewing,PingNote/libchewing,cwlin/libchewing,yan12125/libchewing,kito-cheng/libchewing,mangokingTW/libchewing,PeterDaveHello/libchewing,hiunnhue/libchewing,bbyykk/libtaigi,hiunnhue/libchewing,PingNote/libchewing,cwlin/libchewing,chewing/libchewing,Chocobo1/libchewing,hiunnhue/libchewing,mangokingTW/libchewing,Chocobo1/libchewing,robert501128/libchewing,cwlin/libchewing,kito-cheng/libchewing,kito-cheng/libchewing,Chocobo1/libchewing,PeterDaveHello/libchewing,mangokingTW/libchewing,PingNote/libchewing