def clues_pay(text):
 text = text.lower()
 for clue in ('credits', 'paym', 'expired'):
  if (clue in text):
   return True
 return False

def clues_pay ( text ) : text = text . lower ( ) for clue in ( 'credits' , 'paym' , 'expired' ) : if ( clue in text ) : return True return False
check for messages about payments .