checks whether a given number is a hardshad number, a hardshad number is an integer that is divisible by the sum of its digits.