question: whether or not connected to wifi concode_field_sep NetUtils instance concode_field_sep void openSetting concode_elem_sep boolean isConnected concode_elem_sep NetUtils getInstance
target: boolean function ( Context arg0 ) { ConnectivityManager loc0 = ( ConnectivityManager ) arg0 . getSystemService ( Context . CONNECTIVITY_SERVICE ) ; if ( loc0 != null ) { return loc0 . getActiveNetworkInfo ( ) . getType ( ) == ConnectivityManager . TYPE_WIFI ; } return false ; }