Whether there are comments to loop over.

Signature

have_comments()

Return

(boolean)

Source

function have_comments() {
	global $wp_query;
	return $wp_query->have_comments();
}
WP Trac GitHub

Link here