pub fn remove(conditions: &mut Vec<Condition>, type_: &str) -> bool
Removes the condition of the given type, returning whether it was present.