class CustomStreamListener(tweepy.StreamListener):

    def check_ukcoords(self, status):
        if status.coordinates is not None:
            lat = status.coordinates['coordinates'][1]
Using Tweepy to sort tweets by location