Add method to check islands presence into a PolygonGraph layer

* Added method
* Added related tests