Invisible ink stamps on the frames doesn't stop it but it really makes your hives less targetable.
A note on the boxes saying 'these frames are stamped with my company name in invisible ink' means they have to shake the bees onto new frames/foundation. For thieves, that's much more work...