結果 : check if list has elements python