Test if ``s1`` and ``s2`` are in the same symbol, given the
    ``segmentation``.

def q(segmentation, s1, s2):
    """Test if ``s1`` and ``s2`` are in the same symbol, given the
    ``segmentation``.
    """
    index1 = find_index(segmentation, s1)
    index2 = find_index(segmentation, s2)
    return index1 == index2