Black Ops III

IsMeleeing

Returns true if the player is currently meleeing

Example:

player IsMeleeing()