"assignedVehicleRole" returns  even if the unit is in a vehicle.
We have tested this on multiple clients at the same time, where all players were in the same vehicle. It returned different results on different network peers. Sometimes it returned good information, sometimes it returns an empty array. It seems to be related to locality.
It works flawless in SP.