isOutOfService

open override var isOutOfService: Boolean(source)

True from the moment the vehicle stops until its policy has put it right -- and thereafter, for good, if the policy did not.

Distinct from isFailed, which is about breakdowns alone: a vehicle stopped for a flat battery is out of service without having failed. It is what FleetSystem.numVehiclesOutOfService counts, and it is why a vehicle that broke down between tours is no longer reported as idle.