Trick question, you can't tell them apart, and the asker has their own expectations. UX isn't a field, it's an assortment of stolen practices from actual fields to paper over whatever dysfunctions an organization has, and everyone's "expertise" is biased by that.
Two people are claiming to be an expert in your field, one is and one is faking. What question do you ask to find the imposter?