Do I have to listen to my boss complain?

Inspired by NPR article “Dear Life Kit: Do I have to listen to my boss complain?”, where an employee struggles to cope with her boss's constant oversharing and negativity.