def contains_media(tweet):
    """Returns True if tweet entities has at least one media entry"""
    if 'entities' not in tweet:
        return False
    if 'media' in tweet['entities'] and len(tweet['entities']['media']) > 0:
        return True
    return False
