isRouteNumberValid

Checks if the entered route number is valid and performs the necessary actions.

Validates the route number using Validators.validateNotEmptyText and triggers the selectRoute method if the validation is successful. Updates the TransportUiState with any validation errors.

Return

true if the route number is valid; otherwise, returns false.