Context: Y has just told X that he/she is considering switching his/her job.

X: Will you work on the weekends?
Y: Depends if it's required.