def find(f, seq):
  for item in seq:
    if f(item): 
      return item
Return first item in sequence where f(item) == True.
dataset/ETHPy150Open stefanw/django-annotatetext/annotatetext/templatetags/annotatetags.py/find