Party States

As the title suggests, can anyone tell me how I can call it in a script to check if all party members are being affected by a state? 

Ex:

All party members affected of Paralysis...
Code:
!$game_party.members.any? {|mem| mem.state?(STATE_ID) }
doesn't that only returns true if no one has the state?


this would be the one to use

Code:
$game_party.members.all? {|mem| mem.state?(STATE_ID) }
This will return true if ALL members have the state

Original thread: https://forums.rpgmakerweb.com/threads/party-states.23579/