Help for change particle system display in viewport by particle's name


The particle system is associated with the modifier. Switching on and off the display of the particle system is equal to switching on and off the display of the modifier. So how to switch on and off the display of the particle system by code if particle system’s name ≠ modifier’s name?