Hello again,
It's correct,
Vain is: Having or showing an excessively high opinion of one's appearance, abilities, or worth.
Vein (idiom) If you do something in that (or this) vein, you do it in the same distinctive manner or style. (He died in vein)
Vein = Blood vessel