pydistsim.utils.helpers.len_is_not_zero

len_is_not_zero(iterable)[source]

Returns true if the iterable has at least one element without consuming it entirely.