def isTruthy(value):
    """Converts any value to a boolean value; just uses the 'bool' built-in function,
       except that strings like 'FALSE', 'false' and 'False', and strings that are
       numeric values equal to 0, return False.
    """
    if str(value).lower() == 'false':
        return False

    try:
        return bool(float(value))
    except:
        return bool(value)