boost::algorithm::empty — Free-standing empty() function.
template<typename C> bool empty(const C & c);
Check whether the container is empty. Uses container traits.