human
string contains substring
assistant
Here is some code to check if string `needle` is in `haystack`

if (needle in haystack):
    pass

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