In Twig template I check if a field has an error like this:
{% if form.points.get(\'errors\') is not empty %}
Is there any method like:
Since an empty array resolves to false, you can shorten your existing check to
{% if form.WIDGET_NAME.get('errors') %}