結果 : python check if matrix is empty