Test If Variable Exists Python Programming