結果 : check if list is not none python