def is_retweet(tweet: dict):
    """Return True if the passed tweet is a retweet.

    :param tweet:  JSON dict for tweet
    """
    try:
        text = tweet["tweet"]["full_text"]
    except KeyError:
        text = tweet["tweet"]["text"]
    if text.startswith("RT @"):
        return True
    return False