Check if variable exists