def ask_if_snapshot_wanted():
    """Return whether user wants a snapshot."""
    says = input(
        """Would you like to generate a snapshot at the end?
If so, then once the routes are calculated (and displayed, if you wanted that),
you'll be asked to provide a time for the snapshot.
That snapshot will appear in the console here, and will also be stored in
a new file "package_snapshot.txt" in the directory you are running this from.
If you would like a snapshot later, press "y" or "yes", then Enter.
Otherwise, press any other key, like Enter or "n".
"""
        )
    return says.lower().strip() in ('y', 'yes')
