結果 : check if object is not nonetype python