Yes, in general, because it's not a question of armour rating, as in close range anything can be destroyed, even a HAPC.
So, the real answer is "depends on the threat" - when the principal threat to dismounts transitions from taking steady attrition from direct and indirect fires to dying in...