pub fn is_core_module(target: &str) -> bool
Check if a string references a core module, such as “events”.