This is currently implemented as return true; but since in 3.0 we're adding UI stacks to .NET Core, maybe we should implement this since this is usually used before popping a UI?
The Windows version of the algorithm is copied all over the place (touching it in dotnet/corefx#39285, dotnet/winforms#1247).