GE Dishwasher will not drain

My GE dishwasher works fine except it does not drain water out. No leaks. Is it the control panel / switch or maybe a check valve? Any help would be appreciated. Thanks