app.project.item(index).layer(index).propertySpec.enabled
Description
When true, this property is enabled. It corresponds to the setting of the eyeball icon, if there is one; otherwise, the default is true.
Type
Boolean; read/write if canSetEnabled is true, read-only if canSetEnabled is false.