def is_hex(self):
    if self.filled:
        return (self.current in u'0123456789abcdefABCDEF')
    return False
def is_hex(self):
    if self.filled:
        return (self.current in u'0123456789abcdefABCDEF')
    return False