Does quality of sleep mediate the effect of depression on hopelessness?

Does quality of sleep mediate the effect of depression on hopelessness?