Adding isOn and isRunning methods to java api