Returns true if str is a hex number.
isHex(str)
str string, string to validate