directionsSupport property

NetworkDirectionsSupport get directionsSupport

Whether the underlying network dataset supports the returning of directions.

For services prior to ArcGIS 10.8, this value will be NetworkDirectionsSupport.unknown.