def trace_overlap(row_candidate, row_candidates):
    """
    Does any trace in `row_candidate` appear in any of `row_candidates`?
    """
    # NOTE: multiple iterations over `row_candidates` - don't use generator.
    for t in row_candidate:
        for c in row_candidates:
            if t in c:
                return True
    return False