isRunning

abstract suspend fun isRunning(): Boolean

This is a suspend function because the operation can take time You DO NOT need to set any dispatcher to call this suspend function

Return

true when NetP is enabled AND the VPN is running, false otherwise