code: public boolean isArrivalEvent(@NonNull RouteProgress routeProgress) {
      RouteProgressState currentState = routeProgress.currentState();
      return currentState != null && currentState == RouteProgressState.ROUTE_ARRIVED;
    }
docs: Looks at the current {@link RouteProgressState} and returns if
  is {@link RouteProgressState#ROUTE_ARRIVED}.
  
  @param routeProgress the current route progress
  @return true if in arrival state, false if not