checking if internet  connectivity exist or is lost+

checking if internet connectivity exist or is lost