When comparing unicode you should normalize your data using unicodedata. If you intend to search in a large list you could use map or list comprehension:
import unicodedata
from functools import partial
normalize = partial(unicodedata.normalize, 'NFC')
e = "allé.png"
e = normalize(e)
l = ["allé.png"]
print(e in map(normalize, l))
When comparing unicode you should normalize your data using unicodedata. If you intend to search in a large list you could use map or list comprehension:
Output
Or as an alternative:
Further