use is_bounded instead of in [oo, -oo, zoo]