Added isInteger method to a Datapoint