This method is used to check weather WI-Fi is connected or not.
Parameter | Detail | —— | —— | Context | A reference of Activity context |
If internet connected then method will return true or false.