Yes, Gardner wrote under AA Fair and also several other pen names. Recently, I found out he was a judge on one of the Raymond Burr TV shows. For some reason Gardner and L’Amour always reminded me of having similar writing styles. It could be because they both got their start in pulps and were both self educated. Gardner passed the bar without going to law school.
One of the interesting things was the relationship of Gardner and his secretary, who Della Street was patterned after. After Gardner’s wife died he married the secretary. Also interesting that In several of the novels Mason proposed to Della Street and she turned him down, explaining she enjoyed the adventures and that if she and Perry were to wed the adventures would end.
"We don't have any law here. Just a graveyard." LL from TREASURE MOUNTAIN