def contains_mention(tweet):
    """Takes a python-native tweet obect (a dict). Returns True if a tweet contains a mention"""
    if 'entities' not in tweet:
        return False
    return True if len(tweet['entities']['user_mentions']) > 0 else False
