I just realized that we need (at least) one more public environment function, either "null" or "eq". Otherwise conditions cannot be written in module code. I'd vote for bool is_not_null, it seems to be the most basic one, and doesn't invert the condition.