def tweet_filter(tweet):
    """
    Filter tweets to only be:
        - English
        - Contain no media
    """
    try:
        if tweet['lang'] != 'en': return False
        if 'media' in tweet['entities'] and len(tweet['entities']['media']) > 0: return False
        #if 'urls' in tweet['entities'] and len(tweet['entities']['urls']) > 0: return False
        return True
    except KeyError:
        return False