This can be replaced by: ``if paragraphs:``
An empty string evaluates to false (so does an empty list)