If the seller will allow, then chipping off an edge or side of a windowed or polished piece would be one way. Depending on the method used and porosity of individual bands in the stone, the color can travel deeper than just the surface, however you can look for bands that don't show the same color on the interior as in the corresponding bands on the surface. You can get some clues just looking through a strong (20x or higher) loupe: if there are some areas of macro-crystalline quartz, look for places where the dye has migrated into fractures, veils or boundaries between crystals - usually leaves little clumps of pigment after the solvent/carrier has evaporated. Also any softer, more porous areas and matrix will often have absorbed more of the dye than the agate itself, and under a higher power microscope you can sometimes detect the colorant clumping up in pores. Under high magnification, you are supposed to see the same color dye seeping up in lines perpendicular to and through the color bands, too, but in the areas I've observed, those little spikes have been quite short (in natural agates, those bands are sealed off as each layer is added and subsequent bands often differ to some degree from others in color). Other than magnification, dye can sometimes be detected by rubbing the stone with an acetone-soaked cotton swab - this won't work with many modern dyes or on stones that have had the dye locked in by use of a final sealer or some stabilizer processes, and acetone can also cause discoloration (by removing or spreading the dye) or damaging/dulling the surface (on some stabilized stones), so ask permission if you don't own the stone or if it is your stone, test on the back or some unobtrusive part.