結果 : check if array is not none python