def verify_coordinates_were_provided(origin, destination):
    """Ensure all origin/destination coordinates were provided."""
    return (
        origin
        and destination
        and origin["latitude"]
        and origin["longitude"]
        and destination["latitude"]
        and destination["longitude"]
    )