Why keep guessing? Test your assumptions before posting and just solve the problem and answer the question. And here it is:
isNull gunner somevehicle
will return the value true if the vehicle has a gunner. It will return false if the vehicle has no gunner.
If the vehicle itself isn't even equipped with a gunner position (like a civilian car) that test still works (result is false, obviously).