"felt like"
Of course, you'll never know for sure if they meant to find out your caste. That's the point. If they wanted to be explicit about their objective, they could've asked for their caste.
And that makes it a very bad anecdote for an article like that, and in general weakens the point the article is trying to make.