doesRouteExist

abstract fun doesRouteExist(itinerary: String): Boolean

Checks if a route with the given itinerary already exists in the database.

Return

{@code true} if a route with the given itinerary exists, {@code false} otherwise.

Parameters

itinerary

The JSON data representing the route itinerary and options.