pydistsim.utils.helpers.len_is_one

len_is_one(iterable)[source]

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