[4.8.3] How to check if "stat FPS" is on?

Use “GEngine->GameViewport->IsStatEnabled(TEXT(“FPS”));” running well in my project.