protected function _isAvailableShippingMethod($name, $destCountry)
    {
        return $this->_isOptionVisibilityRequired($name, $destCountry) &&
            !$this->_isOptionVisibilityNever($name, $destCountry);
    }
protected function _isAvailableShippingMethod($name, $destCountry)
    {
        return $this->_isOptionVisibilityRequired($name, $destCountry) &&
            !$this->_isOptionVisibilityNever($name, $destCountry);
    }
protected function _isAvailableShippingMethod ( $ name , $ destCountry ) { return $ this -> _isOptionVisibilityRequired ( $ name , $ destCountry ) && ! $ this -> _isOptionVisibilityNever ( $ name , $ destCountry ) ; }
Determines whether a shipping method should be added to the result.

@param string $name Name of the shipping method
@param string $destCountry Country code
@return bool
Determines whether a shipping method should be added to the result .