Signature of a predicate to select RouteData
typedef RouteDataPredicate = bool Function(RouteData route);