How to detect programatically if traffic is going through VPN without using intent to connect to VPNService. Is there some system call?

Edit
Report