How to say in Czech: Were they looking for work?

English
Were looking for work?
Czech
Oni hledali práci?