Check variable exists