':param value: accepted text, int or boolean
:param bool ignore_case: Whether case matters for text values'

def accept(self, value, ignore_case=False):

    if (not isinstance(value, (str, int, float))):
        raise Exception(u'Choice    validator    only    accepts    strings    and    numbers')
    if (isinstance(value, str) and ignore_case):
        self.valid_ic.append(value.lower())
    else:
        self.valid.append(value)
