bool RoutePredicate(Route route)

Signature for the Navigator.popUntil predicate argument.