std::list have empty() method