src/main/java/org/intellimate/izou/sdk/frameworks/music/player/Playlist.java
public boolean verify(Capabilities capabilities) {
        for (PlaybackMode playbackMode : playbackModes) {
            switch (playbackMode) {
                case REPEAT:
                    if (!capabilities.canRepeatPlayback()) {
                        return false;
                    } else {
                        break;
                    }
                case REPEAT_SONG:
                    if (!capabilities.canRepeatPlaybackOfSong()) {
                        return false;
                    } else {
                        break;
                    }
                case SHUFFLE:
                    if (!capabilities.canShufflePlayback()) {
                        return false;
                    } else {
                        break;
                    }
            }
        }
        return true;
    }
public boolean verify(Capabilities capabilities) {
        for (PlaybackMode playbackMode : playbackModes) {
            switch (playbackMode) {
                case REPEAT:
                    if (!capabilities.canRepeatPlayback()) {
                        return false;
                    } else {
                        break;
                    }
                case REPEAT_SONG:
                    if (!capabilities.canRepeatPlaybackOfSong()) {
                        return false;
                    } else {
                        break;
                    }
                case SHUFFLE:
                    if (!capabilities.canShufflePlayback()) {
                        return false;
                    } else {
                        break;
                    }
            }
        }
        return true;
    }
returns true if all the active playbackModes are supported
@param capabilities the Capabilities to match against
@return true if the player is capable, false if not