Whats the quickest and easiest way to check for a Internet Connection? I want it to return True or False, that simple.

Of course, I dont mean LAN, but Internet. If its a private IP (like 169.x.x.x) then I want it to be FALSE as well. You get the picture