def is_last_page(page):
    """
    The last page is either empty or only the one Tweet, the last Tweet of the
    previous page repeated.

    Args:
        page: a Twitter timeline page
    Returns:
        boolean: True if page is the last page.
    """
    return len(page) == 1 or len(page) == 0