def ask_if_package_histories_wanted():
    """Return whether user wants to view all package histories."""
    user_says = input(
        """Would you like to see all packages and their histories at the end?
(This will appear after a snapshot, if you asked for one.)
"""
        )
    return user_says.lower().strip() in ('y', 'yes')
