Checks if a matrix is a lower triangular matrix.