Function detector

Source
pub fn detector(input: &str) -> bool