Detect or avoid mock GPS location

Maybe this answer would help you to implement this funcionality: