fix envIs and equals example

The code examples for envIs and equals were using exists rather than the ones specified.