pub fn is_active_rust_script<P: AsRef<Path>>(path: P) -> Result<bool>
Returns true if the file’s a “rust-script”