Function isExpectingHex