結果 : check array not empty python