public function isAvailableForCountry($obCountry) : bool
    {
        $arCountryIDList = (array) $this->country_id_list;

        $bResult = !empty($arCountryIDList) && !empty($obCountry) && in_array($obCountry->id, $arCountryIDList);

        return $bResult;
    }
public function isAvailableForCountry($obCountry) : bool
    {
        $arCountryIDList = (array) $this->country_id_list;

        $bResult = !empty($arCountryIDList) && !empty($obCountry) && in_array($obCountry->id, $arCountryIDList);

        return $bResult;
    }
public function isAvailableForCountry ( $ obCountry ) : bool { $ arCountryIDList = ( array ) $ this -> country_id_list ; $ bResult = ! empty ( $ arCountryIDList ) && ! empty ( $ obCountry ) && in_array ( $ obCountry -> id , $ arCountryIDList ) ; return $ bResult ; }
Check tax is available for country
@param \RainLab\Location\Models\Country $obCountry
@return bool
Check tax is available for country