結果 : check if object not none python