bool containsVideo(String name)

Source

bool containsVideo(String name) {
  return _containsResource("Video", name);
}