結果 : python how to check if variable is nonetype