whirlpool detergent dispenser wont open

this whirlpool won’t open the detergent dispenser door during cycle. it has
what looks like an electrical solenoid to open the detergent door. is there any
way to check this solenoid to determine if it is bad or if it is what ever tells the solenoid to operate is bad?
Thanks
Jim
jcsrental