 extension CLLocation {
     public convenience init(location:CLLocationCoordinate2D) {
         self.init(latitude: location.latitude, longitude: location.longitude)
+    }
+    
+    func isValid() -> Bool {
+        return self.coordinate.latitude != 0.0 && self.coordinate.longitude != 0.0
     }
 }
 

    var distanceMiles:Double {
        return metersToMiles(distance)
    }
}

extension MKCoordinateRegion {


import Foundation
import MapKit
import Contacts

let mileMeterRatio = 1609.344
let meterToDegreesRatio = 111000.0
