fix(core-base): isMessageAST
more strictly
#1509
+22
−2
Merged