\enablemode[foo]
</texcode>
the contents of the mode environment are not execited executed because <code>foo</code> is not enabled when <code>\startmode</code> is encountered.
</texcode>
checks if both <code>mode1</code> and <code>mode2</code> are enabled.
= System modes =