結果 : how to check if array is none python