Script check if random encounters are on?

What's the script call condition to check if random encounters are disabled?
I need it in a conditional branch.

For example for saving theres "$game_system.save_disabled"
Or for the menu "$game_system.menu_disabled"
$game_system.encounter_disabled
$game_system.encounter_disabled
thank you!

Original thread: https://forums.rpgmakerweb.com/threads/script-check-if-random-encounters-are-on.146912/