The substitute for isKindOf in Swift3 is:
isKindOf
Swift3
if annotation is MKUserLocation { return nil}