public boolean wasPathPlayed(String path) {
    for (Playback playback : playedSounds) {
      if (idIsForPath(playback.soundId, path)) {
        return true;
      }
    }
    return false;
  }
public boolean wasPathPlayed(String path) {
    for (Playback playback : playedSounds) {
      if (idIsForPath(playback.soundId, path)) {
        return true;
      }
    }
    return false;
  }
public boolean wasPathPlayed ( String path ) { for ( Playback playback : playedSounds ) { if ( idIsForPath ( playback . soundId , path ) ) { return true ; } } return false ; }
Returns {@code true} if the given path was played.
Returns {