def check_uscoords(self, status):
    if status.coordinates is not None:
        lat = status.coordinates['coordinates'][1]
lng = status.coordinates['coordinates'][0]
return 25.1 < lat < 49.1 and -125 < lng < -60.5
Using Tweepy to sort tweets by location