hestia_earth.utils.non_empty_value

hestia_earth.utils.non_empty_value(value)[source]

Return True if the value is not en empty string or an empty list.

Parameters

value – Either a string, a list, a number or None.