human
Python - Fastest way to check if a string contains specific characters in any of the items in a list
assistant
Here is some code to do a boolean check if a string `lestring` contains any of the items in list `lelist`

any(e in lestring for e in lelist)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.