Return true if the edge table contains a route with the route identifier.
Return true if the ways cache contains a route with the route identifier.