Adds a variable exists helper