At least with Symfony 3.2.8, you can use an array to enumerate roles. Therefore, this should work:
{% if is_granted(['ROLE_ADMIN', 'ROLE_SAMPLE']) %} <a href="...">Delete</a> {% endif %}
I do not know when this was added, but I prefer to use multiple calls with or.
source share