human
How to check if one of the following items is in a list?
assistant
Here is some code to check if any item from list `b` is in list `a`

print(any(x in a for x in b))

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