how can i check if the player in the air using c++

If you don’t mind