(a, b)
return any(s in b for s in a)
Return true if any element *s* of <a> also exists in <b>.
Return true if any element *s* of <a> also exists in <b>.
Return true if any element * s * of <a > also exists in <b > .
def any_a_in_b(a, b):
    """Return true if any element *s* of <a> also exists in <b>."""
    return any(s in b for s in a)
def any_a_in_b ( a , b ) : return any ( s in b for s in a )