結果 : check array is not empty python