結果 : how to check a variable exists in python