Test If Variable Exists Python Code For Snake