Simplify Is-int function

https://github.com/tctcl/ballistic/pull/24