def is_not_null(value):
    """
    test for None and empty string

    :param value:
    :return: True if value is not null/none or empty string
    """
    return value is not None and len(str(value)) > 0