How to get the Player Controller with C++?

Out of curiousity, does GetWorld()->GetFirstPlayerController() do the same thing?