custom is-running check