B-10046 The function IsRunning was added