GE dishwasher won't drain, not plugged up

The dishwasher has been working ok for 5 years, but now it stops when it is time to drain. The motor works for wash and rinse cycle, then nothing. The timer continues and the hose is not plugged up. I was able to remove some plastic debris from around the impeller shaft, but that didn’t help.

Is it the discharge valve solonoid that is bad?

Thanks for your help,
Bonnie