add Ast.isEntity skeleton and tests