return boost::filesystem::is_regular_file(dir / "ASSETMAP") || boost::filesystem::is_regular_file(dir / "ASSETMAP.xml");
}
+
+bool
+contains_sign_language(ContentList const& content)
+{
+ return std::any_of(
+ content.begin(),
+ content.end(),
+ [](shared_ptr<const Content> c) {
+ return c->video && c->video->type() == VideoType::SIGN_LANGUAGE;
+ });
+}
+