It was. It's very common knowledge. Also, that a black at that time and place had better address a white as "sir" or "ma'am" or "mister" or "miz," or else.
This is correct but not applicable everywhere evenly....there have always been places of.much more rigid racism and places that were much looser....like Harlem, in the 20's thru 40's