[SciPy-Dev] Function to check if sparse matrix is symmetric