I recall running into women in CS in the 80s, far before the days of diversity hires. It was instant respect, as you knew that that person was not only legit, but had probably overcome extra obstacles to get where they were.
These days, anyone who could have been a diversity hire is guilty until proven innocent.