(value)
return bool(value or value == 0)
Returns True if `value` is truthy or 0

    >>> is_a_value("yes")
    True
    >>> is_a_value(0)
    True
    >>> is_a_value("")
    False
Returns True if `value` is truthy or 0
Returns True if value is truthy or 0
def is_a_value(value):
    """
    Returns True if `value` is truthy or 0

    >>> is_a_value("yes")
    True
    >>> is_a_value(0)
    True
    >>> is_a_value("")
    False

    """
    return bool(value or value == 0)
def is_a_value ( value ) : return bool ( value or value == 0 )