Figuring out neutral and earth in a three phase connector?
Assuming this is a practical question: Isolate the supply at the distribution panel, disconnect the neutral at the panel side and check which pin is still grounded with an ohm meter. If it’s the ground pin, then it’s wired correctly. If it’s the neutral, it’s wired incorrectly.