added isPlotAlive() method