Check if iOS app is connected to VPN

Given that you have a website which you have control over its access. If you are using other’s website, if their domain are restricted in certain country, then this function will return false result.