added isInteger static method as per ticket #26