pub fn cast_num_to_bool<I>(value: I) -> boolwhere I: Default + PartialEq,
Cast numeric types to boolean