Well that's a good friend 👍
On the flip side there are also people who don't like to be asked that question, because they feel as if people just ask as a way of greeting, but are not really interested in the answer. In situations like these it's indeed better to have an open mind.