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