Black Ops III

IsInVehicle

Returns whether or not this player is currently occupying a vehicle.

Example:

self IsInVehicle()