jukebox.py
def _active_device(self):
        """Returns True if self.device_id (jukebox) matches the active device_id."""
        devices_dict = self.sp.devices()
        for device in devices_dict.get("devices"):
            if device.get("is_active") == True and device.get("id") == self.device_id:
                return True
        return False
Returns True if self.device_id (jukebox) matches the active device_id.
Returns True if self.device_id (jukebox) matches the active device_id.
Returns True if self . device_id ( jukebox ) matches the active device_id .
def _active_device(self):
        devices_dict = self.sp.devices()
        for device in devices_dict.get("devices"):
            if device.get("is_active") == True and device.get("id") == self.device_id:
                return True
        return False
def _active_device ( self ) : devices_dict = self . sp . devices ( ) for device in devices_dict . get ( "devices" ) : if device . get ( "is_active" ) == True and device . get ( "id" ) == self . device_id : return True return False
Returns True if self.device_id (jukebox) matches the active device_id.
Returns True if self . device_id ( jukebox ) matches the active device_id .
"""Returns True if self.device_id (jukebox) matches the active device_id."""
self