Check if there are any completed lines before rendering