pub fn contains_generics(target: &str) -> bool