Test if variable exists