add additional is_number test for Integral

[skip ci]
AppliedUndef.is_number is False
check for AppliedUndef in Integral.is_number