UWorld::IsPlayInEditor

Returns whether script is executing within the editor.