added cluster.isRunning() function to enable checking if a worker is still running

fixes NPM-1