[Olena-patches] 561: Add a version of type_of_ checking that the vtype is actually found.