Add defined-operator for ENV type and change operator precedence to make defined have lower precedence than element selection operator