Could a simple machine such as a lever, a pulley system or a hydraulic jack be considered a heat engine? Explain your answer.

I feel that its the hydraulic jack because if friction is created, heat is also created. I'm not sure though.