This could be `ENV.has_key?(deprecated)` which is more readable, I think.