hasLayers property

bool get hasLayers

Implementation

bool get hasLayers => layers?.isNotEmpty == true;