pub fn check_pattern(pattern: &str, source: &str) -> bool
Run the appropriate heuristic for a named GoF pattern.