Added method to check if fetched data are valid. Refactored methods in Overpass API class.