Black Ops III

IsUsingOffHand

Returns true if player is using offhand weapon

Example:

if( self IsUsingOffHand() )