yeah, anna's way would probably be the way i would do it.
but, could u find the centre of the circle, find the perpendicular distance from the centre to the line, and if that distance is the radius, say that is it a tangent?
edit: thats what drogonski just posted lol.