remove is_finite from core/numbers.py