How to check if a character hit the ground when it's flying

To make my character fly I use

moveComp->SetMovementMode(EMovementMode::MOVE_Flying);

Now I want when the character hits the ground, set new movement mode

moveComp->SetMovementMode(EMovementMode::MOVE_Walking);

The problem is how to check that the character hit the ground. The function “IsFalling”, recommended in another question, simple check current mode and therefore not correct for me:

bool UCharacterMovementComponent::IsFalling() const
{
	return (MovementMode == MOVE_Falling) && UpdatedComponent;
}

Ok, I found temporary solution: override function MoveBlockedBy of my character.