結果 : check if a variable is nonetype python