GPS shield with Ardunio

$GPGGA contains time, latitude, longitude and then crucially fix quality. This is non-zero when it has a fix. This is followed by the number of satellites in view.