To be used to is a structure used to express habits and customs that are familiar to us.
The interrogative form is used to ask questions about the subject’s customs.
https://open.books4languages.com/english-a2-grammar/chapter/to-be-used-to-interrogative/