Evaluates True if "value" looks like it is intended to be true.  This translates
    to an integer value greater than 0 or the first character starting with 'y'
    or 't' (case independent).

def truthy(value):
    """
    Evaluates True if "value" looks like it is intended to be true.  This translates
    to an integer value greater than 0 or the first character starting with 'y'
    or 't' (case independent).
"""
    if value is None or value == '':
        return False
    value = str(value)
    try:
        return (int(value) != 0)
    except:
        pass
    return (truthy_true_yes.match(value) is not None)