B-10046 the function IsRunning was added