original_string: public function isWorking()
      {
          if (empty($_SERVER[self::TEST_SERVER_VAR])
              && empty($_SERVER[self::TEST_SERVER_VAR_ALT])
              && empty($_SERVER[self::TEST_SERVER_VAR_ALT_IPV6])
          ) {
              return Piwik::translate("UserCountry_CannotFindGeoIPServerVar", self::TEST_SERVER_VAR . ' $_SERVER');
          }
  
          return true; // can't check for another IP
      }
code: public function isWorking()
      {
          if (empty($_SERVER[self::TEST_SERVER_VAR])
              && empty($_SERVER[self::TEST_SERVER_VAR_ALT])
              && empty($_SERVER[self::TEST_SERVER_VAR_ALT_IPV6])
          ) {
              return Piwik::translate("UserCountry_CannotFindGeoIPServerVar", self::TEST_SERVER_VAR . ' $_SERVER');
          }
  
          return true; // can't check for another IP
      }
code_tokens: public function isWorking ( ) { if ( empty ( $ _SERVER [ self :: TEST_SERVER_VAR ] ) && empty ( $ _SERVER [ self :: TEST_SERVER_VAR_ALT ] ) && empty ( $ _SERVER [ self :: TEST_SERVER_VAR_ALT_IPV6 ] ) ) { return Piwik :: translate ( "UserCountry_CannotFindGeoIPServerVar" , self :: TEST_SERVER_VAR . ' $_SERVER' ) ; } return true ; // can't check for another IP }
docstring: Returns true if the GEOIP_ADDR server variable is defined.
  
  @return bool
docstring_tokens: Returns true if the GEOIP_ADDR server variable is defined .