fractions.Decimal.is_infinite

Decimal.is_infinite()[source]

Return True if self is infinite; otherwise return False.