C++ - check if a player controller is grounded?

How can I check if my player is grounded in code? I am making a platforming game and I come from Unity where there is charactercontroller.isGrounded, is there such a thing in Unreal?

By the way I am using the default third person game template.

I think you are looking for UCharacterMovementComponent::IsMovingOnGround()

Small correction, player controller have nothing to do with player character that he is possessing. It’s more of player instance in the game