@property
    def is_number(self):
        return not self.free_symbols
Return True if the Sum has no free symbols, else False.
dataset/ETHPy150Open sympy/sympy/sympy/concrete/expr_with_limits.py/ExprWithLimits.is_number