truthy

Function truthy 

Source
pub fn truthy<V: AsRef<str>>(v: V) -> bool