How can the word deprived be use as a question?

Can you imagine being deprived of your freedom for the rest of your life?

Does my dog feel deprived of attention and companionship while I'm at work all day long?