結果 : check if nonetype object python