結果 : python determine if variable is defined