GTileMap.isEmpty

bool isEmpty()

Returns true if the map has no layers.