public function isAvailableForState($obState) : bool
    {
        $arStateIDList = (array) $this->state_id_list;

        $bResult = !empty($arStateIDList) && !empty($obState) && in_array($obState->id, $arStateIDList);

        return $bResult;
    }
public function isAvailableForState($obState) : bool
    {
        $arStateIDList = (array) $this->state_id_list;

        $bResult = !empty($arStateIDList) && !empty($obState) && in_array($obState->id, $arStateIDList);

        return $bResult;
    }
public function isAvailableForState ( $ obState ) : bool { $ arStateIDList = ( array ) $ this -> state_id_list ; $ bResult = ! empty ( $ arStateIDList ) && ! empty ( $ obState ) && in_array ( $ obState -> id , $ arStateIDList ) ; return $ bResult ; }
Check tax is available for state
@param \RainLab\Location\Models\State $obState
@return bool
Check tax is available for state