f(foo).is_number is False
use free_symbols for isyms in Integral.is_number