Yeah, or to check if an entire group is in a vehicle,
{_x in _jeepOne} count (units _groupOne) == {alive _x} count (units _groupOne)
In other words, "number of groupOne units boarded in jeepOne equals number of alive groupOne units."
And you can also put that in the condition field for a waypoint, or a trigger synchronized to one, of course.