def has_recent_snapshot(webcam, latest_snapshot):
    """
    Returns a tuple with a boolean telling whether the webcam image was updated
    after latest_snapshot, and the latest of the two dates
    """
    updated = int(webcam.updated_epoch)
    return updated > latest_snapshot, max(updated, latest_snapshot)