Check if “Break comments into pages” is selected

The check is done with get_option('page_comments').

But you could use another solution:

$prev = get_previous_comments_link();
$next = get_next_comments_link();

if ( '' !== $prev . $next )
    echo "<div>$prev $next</div>";

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)