def shares_multiple_roots(self, expr):
        expr_roots = expr._root_tables()
        total = sum(self.roots_shared(expr_roots)
                    for root in expr_roots)
        return total > 1
dataset/ETHPy150Open cloudera/ibis/ibis/expr/analysis.py/ExprValidator.shares_multiple_roots/original