結果 : check for non empty list python