I'd disagree here. I had a LG MBPR which was flawless for a few months before it started to develop IR. It was naturally replaced with a Samsung and on the whole I can say the Samsung is significantly better than my LG.
Of course you can claim that it was because it was a faulty screen but even when it didn't suffer from IR and having seen 'perfect' LG screens, they're not as good as the Samsung IMO.
Theres a reason why Apple do not replace screens with LG panels.
___
Anyway, back to OP; There is no way, although you do have some scenarios I guess:
1. Cycle through multiple machines until you get a Samsung (can be done rather easy I'd assume if you live close to an Apple store as they have a 14 day return policy).
2. Test the LG screen for IR. If you have IR then take a screenshot of it and book in for a genius appointment. The LG screen will be replaced by a Samsung (I can give you the part number if you so wish).
Obviously then once you have the Samsung display, wipe the SSD clean and reinstall OSX via a flashdrive or the internet recovery. Only issue is that the box will be open, but even if there was a way to tell w/o going in the terminal the box will have to be opened; so I'll assume this point is moot.