pub fn detect_module(source: &str) -> bool
detect if a script is module (contains import or export statements)