Test If Variable Exists Python