hasWikiInfo static method
- Landmark landmark
Checks if the landmark has Wikipedia info
Requests all the wikipedia info at once (page title/url, page summary, and list of pictures - only urls of the pictures) - returns true if request successfully made, false if something went wrong.
Parameters
- IN landmark Landmark for which the check will be done.
Returns
- True if the landmark has Wikipedia info, false otherwise
Throws
- An exception if it fails.
Implementation
static bool hasWikiInfo(Landmark landmark) {
return _checkWikiInfo(landmark).$1;
}