Verifique se a string é igual a string na lista python

if any(x in paid[j] for x in d):
  # do stuff
Comfortable Caterpillar