Glasses that don’t block UV rays may offer some relief from visible
light and reduce your need to squint, but the additional exposure to
UVA and UVB can be harmful. “Let’s suppose you put on a very dark pair
of sunglasses,” Bizer says, “Your pupil opens up, it dramatically
changes in size from half a millimeter to 5 or 6 millimeters. It’s an
enormous increase, and now you’re allowing much more [harmful light]
into your eyes than if you didn’t wear the cheap sunglasses at all.”
“Sunglasses without UVA and UVB protection simply filter out the
ambient light, the glare,” Bizer says. “They don’t do anything to
protect you.” And that additional exposure to UVA and UVB rays may
increase the risk for cataracts, macular degeneration and even
development of ocular melanoma — a very rare type of cancer.
providing they have plastic (polycarbonate - which they almost certainly will because its cheap) lenses then they will filter UVA and UVB as it's an inherent property of the material.
So, dodgy sunglasses. How do you know if they filter UV?
http://healthland.time.com/2009/08/04/can-cheap-sunglasses-be-bad-for-your-eyes/