class SpotifyAPICalls {

	public boolean checkPlayerState() {
		if (getSpotifyApi() == null) {
			this.logger.warn("Please initialize the spotify api with the client id and client secret");
			return false;
		}
		if (!checkDeviceIsLoggedIn(this.userData.getCurrentDeviceId())) {
			this.logger.warn("Device has been disconnected or is not the active device");
			return false;
		}
		return true;
	}

}