docs: @Pure
  	public boolean isEndingBusHalt() {
  		final BusItinerary itinerary = getContainer();
  		if (itinerary != null && itinerary.isValidPrimitive()) {
  			final int count = itinerary.getValidBusHaltCount();
  			if (count > 0) {
  				try {
  					return itinerary.getBusHaltAt(count - 1) == this;
  				} catch (IndexOutOfBoundsException exception) {
  					// invalid halt
  				}
  			}
  		}
  		return false;
  	}