original_string: public function isEnabled()
      {
          $isEnabled = (bool) Config::getInstance()->General['enable_update_communication'];
  
          if($isEnabled === true && SettingsPiwik::isInternetEnabled() === true){
              return true;
          }
          
          return false;
      }
code: public function isEnabled()
      {
          $isEnabled = (bool) Config::getInstance()->General['enable_update_communication'];
  
          if($isEnabled === true && SettingsPiwik::isInternetEnabled() === true){
              return true;
          }
          
          return false;
      }
code_tokens: public function isEnabled ( ) { $ isEnabled = ( bool ) Config :: getInstance ( ) -> General [ 'enable_update_communication' ] ; if ( $ isEnabled === true && SettingsPiwik :: isInternetEnabled ( ) === true ) { return true ; } return false ; }
docstring: Checks whether update communication in general is enabled or not.
  
  @return bool
docstring_tokens: Checks whether update communication in general is enabled or not .