is_zero#

check if a symbolic integer is zero

If it returns True, then the value is definitely 0. If it returns False, then the value is either non-zero, or could not be symbolically symplified to a zero.