pub fn check_parts(parts: &[&str]) -> Result<(), Box<dyn Error>>
Simple utility function to check whether