@staticmethod<EOL><INDENT>def _is_supported_matrix(data):<DEDENT>
return (spsp.isspmatrix_csc(data) or<EOL>spsp.isspmatrix_csr(data) or<EOL>spsp.isspmatrix_bsr(data) or<EOL>spsp.isspmatrix_dia(data))<EOL>
Checks if a data is csr, csc, bsr, or dia Scipy sparse matrix