[expect] Fix .any()
checks on primitive wrapper classes
#11976
Merged
.any()
checks on primitive wrapper classes
#11976