結果 : how to check for empty array in python