transportationModeValid

Checks whether the specified Transportation Mode is valid or not. This method can also be used to check whether Truck Attributes are allowed for all other transportation modes (except Pedestrian, Bicycle and Motorcycle).

Return

true on success, false otherwise.

Parameters

transpMode

The Transportation Mode to verify