Human: Python: How to check a string for substrings from a list? Assistant: 
Here is some code to check if any element of list `substring_list` are in string `string`

any(substring in string for substring in substring_list)

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