I want to check if a value belongs to a list in django template. Something like this

{% if value in ['Pass','Fail'] %}

How can I achieve this?

Edit
Report