Returns whether a route participates in auth checks.
typedef RouteRequiresAuth<T extends Object> = bool Function(T route);