title: How to check internet connection enabled or disabled in Espresso for Android
body: <p>In my application have a button that will be enabled or disabled based on internet connection so how can I write Espresso code for checking internet connection in Android?</p>