lib/turntabler/playlist.rb
def active
      @active = client.user.playlists.all.any? {|playlist| playlist == self && playlist.active?} if @active.nil?
      @active
    end
def active
      @active = client.user.playlists.all.any? {|playlist| playlist == self && playlist.active?} if @active.nil?
      @active
    end
def active @active = client . user . playlists . all . any? { | playlist | playlist == self && playlist . active? } if @active . nil? @active end
Whether this is the currently active playlist

 @return [Boolean]
 @raise [Turntabler::Error] if the command fails
 @example
   playlist.active   # => true
Whether this is the currently active playlist