| 667 | } |
| 668 | |
| 669 | bool Storage::IsNode(CountryId const & countryId) const |
| 670 | { |
| 671 | if (!IsCountryIdValid(countryId)) |
| 672 | return false; |
| 673 | return m_countries.FindFirst(countryId) != nullptr; |
| 674 | } |
| 675 | |
| 676 | bool Storage::IsLeaf(CountryId const & countryId) const |
| 677 | { |