Мне хотелось бы знать, куришь ли ты.
I would like to know if you smoke.

"Ли" forms the question like "if" does.