結果 : list not empty check in python