Move isInt to utilities