Add has_version
Be consistent with assertions