public function isGeoIPWorking()
    {
        $provider = LocationProvider::getCurrentProvider();
        return $provider instanceof GeoIp
        && $provider->isAvailable() === true
        && $provider->isWorking() === true;
    }
public function isGeoIPWorking()
    {
        $provider = LocationProvider::getCurrentProvider();
        return $provider instanceof GeoIp
        && $provider->isAvailable() === true
        && $provider->isWorking() === true;
    }
public function isGeoIPWorking ( ) { $ provider = LocationProvider :: getCurrentProvider ( ) ; return $ provider instanceof GeoIp && $ provider -> isAvailable ( ) === true && $ provider -> isWorking ( ) === true ; }
Returns true if a GeoIP provider is installed & working, false if otherwise.

@return bool
Returns true if a GeoIP provider is installed & working false if otherwise .