Black Ops III

IsSwitchingWeapons

Returns true if the player is currently switching weapons

Example:

player IsSwitchingWeapons()