<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def any_contains_any(strings, candidates):

 """Whether any of the strings contains any of the candidates."""

    for string in strings:
        for c in candidates:
            if c in string:
                return True