How to know whether my Xperia Ray's bootloader is locked or unlocked one Title says all, but again a bit background

I would like to know whether the bootloader on my xperia ray is locked or unlocked one. I bought it from ebay &amp; with seller warranty (or you can say no warranty). It was a great deal &amp; I didn't need warranty too as I was going to root it.

I haven't done anything to unlock my boot loader till now. Used x-parts (auto CWM installer) to test some roms. How do I know the phone I received, has bootloader locked or unlocked?
Try to flash the original firmware for your phone, then dial *#*#7378423#*#* on your dialer app and navigate to service menu -&gt; service info -&gt; configuration. It should be indicated there.