def __get_sorted(self):
<EOL>if not hasattr(self,'<STR_LIT>'):<EOL><INDENT>fn = _sparsetools.csr_has_sorted_indices<EOL>self._has_sorted_indices =fn(len(self.indptr) - <NUM_LIT:1>, self.indptr, self.indices)<EOL><DEDENT>return self._has_sorted_indices<EOL>
Determine whether the matrix has sorted indices

        Returns
            - True: if the indices of the matrix are in sorted order
            - False: otherwise