labelsEnabled property

bool get labelsEnabled

True if the sublayer's labels are enabled, false otherwise.

Will return false if an error occurs.