def same_table(c):
    """Return True if all Spans in the given candidate are from the same Table.

    :param c: The candidate whose Spans are being compared
    :rtype: boolean
    """
    return all(
        c[i].sentence.is_tabular() and c[i].sentence.table == c[0].sentence.table
        for i in range(len(c))
    )