fn check_version(version: Option<&str>)
Given a possibly undefined version number, check if it’s present and supported