Pilot operated solenoid valve