The cheapo 3-light plug-in testers like rudutch suggested will tell you this. Most have a label that shows all the different light combinations and what they mean. It will indicate hot and neutral reversed, missing safety ground, hot and ground cross-wired, neutral and ground cross-wired, etc.
It's really cheap insurance to know what you are dealing with.