bool containsSound(String name)

Source

bool containsSound(String name) {
  return _containsResource("Sound", name);
}