Stopped Working

My Dishwasher has had lots of build up, then finally last night it just stopped working.
I hear the motor working, but no water comes in.
I have heard it would be the water intake valve.
Does that sound right?