Checks data value and returns true for integers false otherwise.