Painted Glass

Is there a simple and easy to determine whether the glass was painted in color, before you buy?
Purchased Glass Bottles by Color Paint failure. When the glass is washed in the dishwasher, peeling paint. Observed mainly in 'glass in Mexico. I do not understand their reasoning to painting on glass due to peel off color and one is left with the clear glass underneath.
Invest in some real glasses. They are hard to find, but you can get in stores department generally. Remember to check if they are dishwasher safe too. You may have to wash your hands. I had the same problem. However, in reality. I bought a set of eight glasses of Sears one day and that was my "good game" ever since.