Hi.
You just need to write it like this:
if ($gameSystem.isCRTEffectsEnabled()) {stuff}
That worked. Thank you!