In addition to the suggestions you already have received, there's always if(not std::empty(vec)) as a possible alternative if you're concerned about the expressiveness of if(!vec.empty()).
Though I do need to concur with other advice that if(vec) seems to me a lot less expressive and adds more possibility for confusion than some variant of if(!vec.empty())