Test whether an trajectory is a data_wrapper and waypoints

is_wrapper_with_waypoints(trajectory)

Arguments

trajectory

The trajectory to be tested.