def nvl(value, default=''):
    """Get specified value, or an empty string if value is empty

    :param object value: value to be checked
    :param object default: default value to be returned if value is *false*
    :return: input value, or *default* if value is *false*

    >>> from pyams_utils.unicode import nvl
    >>> nvl(None)
    ''
    >>> nvl('foo')
    'foo'
    >>> nvl(False, 'bar')
    'bar'
    """
    return value or default