isIn method
Implementation
bool isIn({double? lon, double? lat, dynamic query, dynamic inside}) {
final queried = smallestOrMatchingRegion(lon: lon, lat: lat, query: query);
final boundsRegion = region(query: inside);
if (queried == null) return false; // Outside any of the regions.
if (boundsRegion == null)
throw StateError('Could not find bounds by query $inside');
if (queried.id == boundsRegion.id) return true;
return queried.groups.contains(boundsRegion.id);
}