If you've ever seen any old western movies, you are familiar with "The Code of the West". I am a man, living in America, in the west, and I can tell you that it is still in use today.
The Code of The West is based on chivalry codes of the knights of England. In fact, a lot of American culture, including the laws, is based on English Common Law. A chivalry code is a code of behavior that is not enforced by law, but instead is enforced by those who believe in it. The good guys know who we are.
In spite of the fact that when we think of "The Old West", we imagine a lawless place, where everyone was shooting everyone else at the drop of a hat, the reality was quite different. Most men wanted to just get along, wanted to protect their homes and their families, and had no intention of stealing or killing people, even if there wasn't any official law where they lived. These good guys could recognize each other. No, they didn't always wear a white hat. They just knew how to behave.
Even though law came with statehood to places like Arizona and New Mexico, there is still a lot of "wide open spaces" and it's good to be able to recognize the good guys.