original_string: public static function canAutoUpdate()
      {
          if (!is_writable(PIWIK_INCLUDE_PATH . '/') ||
              !is_writable(PIWIK_DOCUMENT_ROOT . '/index.php') ||
              !is_writable(PIWIK_INCLUDE_PATH . '/core') ||
              !is_writable(PIWIK_USER_PATH . '/config/global.ini.php')
          ) {
              return false;
          }
          return true;
      }
code: public static function canAutoUpdate()
      {
          if (!is_writable(PIWIK_INCLUDE_PATH . '/') ||
              !is_writable(PIWIK_DOCUMENT_ROOT . '/index.php') ||
              !is_writable(PIWIK_INCLUDE_PATH . '/core') ||
              !is_writable(PIWIK_USER_PATH . '/config/global.ini.php')
          ) {
              return false;
          }
          return true;
      }
code_tokens: public static function canAutoUpdate ( ) { if ( ! is_writable ( PIWIK_INCLUDE_PATH . '/' ) || ! is_writable ( PIWIK_DOCUMENT_ROOT . '/index.php' ) || ! is_writable ( PIWIK_INCLUDE_PATH . '/core' ) || ! is_writable ( PIWIK_USER_PATH . '/config/global.ini.php' ) ) { return false ; } return true ; }
docstring: Check if this installation can be auto-updated.
  For performance, we look for clues rather than an exhaustive test.
  
  @return bool
docstring_tokens: Check if this installation can be auto - updated . For performance we look for clues rather than an exhaustive test .