This method has worked for me, as of version 4.26.
In PIE, the engine spawns a PlayerStartPIE even if it isn’t used. This doesn’t happen in standalone or a built version, so just checking this way at any point will give you an answer.
I created this Function in my GameInstance so I can reference it from anywhere at any time.