Twig finds if statement true whether or not field has value
Look at the object itself not the render array:

{% if paragraph.field_sub_title %}
  &lt;h3&gt;{{ content.field_sub_title }}&lt;/h3&gt;
{% endif %}